GMSNavigationTermsDialogUIParams Class Reference

GMSNavigationTermsDialogUIParams Class Reference

Overview

Parameters that describe the look and feel of the dialog.

Public Member Functions

(instancetype) - initWithBackgroundColor:titleFont:titleColor:mainTextFont:mainTextColor:buttonsFont:cancelButtonTextColor:acceptButtonTextColor:
 Constructs a GMSNavigationTermsDialogUIParams object.

Properties

UIColor * backgroundColor
 Color used for the background of the dialog box.
UIFont * titleFont
 Font used for text of the title.
UIColor * titleColor
 Color of text in the title.
UIFont * mainTextFont
 Font used for text of the Terms and Driver's Awareness Disclaimer.
UIColor * mainTextColor
 Color of the text used for the Terms and Driver's Awareness Disclaimer.
UIFont * buttonsFont
 Font used for text on the Cancel and Accept buttons.
UIColor * cancelButtonTextColor
 Color of the text of the Cancel button.
UIColor * acceptButtonTextColor
 Color of the text of the Accept button.

Member Function Documentation

- (instancetype) initWithBackgroundColor: (nullable UIColor *)  backgroundColor
titleFont: (nullable UIFont *)  titleFont
titleColor: (nullable UIColor *)  titleColor
mainTextFont: (nullable UIFont *)  mainTextFont
mainTextColor: (nullable UIColor *)  mainTextColor
buttonsFont: (nullable UIFont *)  buttonsFont
cancelButtonTextColor: (nullable UIColor *)  cancelButtonTextColor
acceptButtonTextColor: (nullable UIColor *)  acceptButtonTextColor 

Constructs a GMSNavigationTermsDialogUIParams object.

See property comments for the meaning of the parameters.


Property Documentation

- (UIColor*) backgroundColor [read, assign]

Color used for the background of the dialog box.

- (UIFont*) titleFont [read, assign]

Font used for text of the title.

- (UIColor*) titleColor [read, assign]

Color of text in the title.

- (UIFont*) mainTextFont [read, assign]

Font used for text of the Terms and Driver's Awareness Disclaimer.

- (UIColor*) mainTextColor [read, assign]

Color of the text used for the Terms and Driver's Awareness Disclaimer.

- (UIFont*) buttonsFont [read, assign]

Font used for text on the Cancel and Accept buttons.

- (UIColor*) cancelButtonTextColor [read, assign]

Color of the text of the Cancel button.

The background color of the button is transparent.

- (UIColor*) acceptButtonTextColor [read, assign]

Color of the text of the Accept button.

The background color of the button is transparent.