GoogleNavigation Framework Reference

GMSNavigationTermsDialogUIParams

@interface GMSNavigationTermsDialogUIParams : NSObject

Parameters that describe the look and feel of the dialog.

  • Color used for the background of the dialog box.

    Declaration

    Swift

    var backgroundColor: UIColor? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) UIColor *backgroundColor;
  • Font used for text of the title.

    Declaration

    Swift

    var titleFont: UIFont? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) UIFont *titleFont;
  • Color of text in the title.

    Declaration

    Swift

    var titleColor: UIColor? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) UIColor *titleColor;
  • Font used for text of the Terms and Driver’s Awareness Disclaimer.

    Declaration

    Swift

    var mainTextFont: UIFont? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) UIFont *mainTextFont;
  • Color of the text used for the Terms and Driver’s Awareness Disclaimer.

    Declaration

    Swift

    var mainTextColor: UIColor? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) UIColor *mainTextColor;
  • Font used for text on the Cancel and Accept buttons.

    Declaration

    Swift

    var buttonsFont: UIFont? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) UIFont *buttonsFont;
  • Deprecated

    Cancel button has been removed from the dialog.

    Deprecated. Cancel button has been removed from the dialog.

    Color of the text of the Cancel button. The background color of the button is transparent.

    Declaration

    Swift

    var cancelButtonTextColor: UIColor? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) UIColor *cancelButtonTextColor;
  • Color of the text of the Accept button. The background color of the button is transparent.

    Declaration

    Swift

    var acceptButtonTextColor: UIColor? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) UIColor *acceptButtonTextColor;
  • Constructs a GMSNavigationTermsDialogUIParams object.

    See property comments for the meaning of the parameters.

    Declaration

    Swift

    init(backgroundColor: UIColor?, titleFont: UIFont?, titleColor: UIColor?, mainTextFont: UIFont?, mainTextColor: UIColor?, buttonsFont: UIFont?, cancelButtonTextColor: UIColor?, acceptButtonTextColor: UIColor?)

    Objective-C

    - (nonnull 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;
  • Unavailable

    Use designated initializer instead.

    Declaration

    Objective-C

    - (null_unspecified instancetype)init;