# GoogleNavigation Framework Reference

# GMSNavigationTermsDialogUIParams

    @interface GMSNavigationTermsDialogUIParams : NSObject

Parameters that describe the look and feel of the dialog.
- `


  ### [backgroundColor](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationTermsDialogUIParams#/c:objc(cs)GMSNavigationTermsDialogUIParams(py)backgroundColor)


  ` Color used for the background of the dialog box.

  #### Declaration

  Swift

      var backgroundColor: UIColor? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) UIColor *backgroundColor;

- `


  ### [titleFont](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationTermsDialogUIParams#/c:objc(cs)GMSNavigationTermsDialogUIParams(py)titleFont)


  ` Font used for text of the title.

  #### Declaration

  Swift

      var titleFont: UIFont? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) UIFont *titleFont;

- `


  ### [titleColor](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationTermsDialogUIParams#/c:objc(cs)GMSNavigationTermsDialogUIParams(py)titleColor)


  ` Color of text in the title.

  #### Declaration

  Swift

      var titleColor: UIColor? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) UIColor *titleColor;

- `


  ### [mainTextFont](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationTermsDialogUIParams#/c:objc(cs)GMSNavigationTermsDialogUIParams(py)mainTextFont)


  ` 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;

- `


  ### [mainTextColor](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationTermsDialogUIParams#/c:objc(cs)GMSNavigationTermsDialogUIParams(py)mainTextColor)


  ` 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;

- `


  ### [buttonsFont](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationTermsDialogUIParams#/c:objc(cs)GMSNavigationTermsDialogUIParams(py)buttonsFont)


  ` Font used for text on the Cancel and Accept buttons.

  #### Declaration

  Swift

      var buttonsFont: UIFont? { get }

  Objective-C

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

- `


  ### [cancelButtonTextColor](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationTermsDialogUIParams#/c:objc(cs)GMSNavigationTermsDialogUIParams(py)cancelButtonTextColor)


  ` 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;

- `


  ### [acceptButtonTextColor](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationTermsDialogUIParams#/c:objc(cs)GMSNavigationTermsDialogUIParams(py)acceptButtonTextColor)


  ` 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;

- `


  ### [-initWithBackgroundColor:titleFont:titleColor:mainTextFont:mainTextColor:buttonsFont:cancelButtonTextColor:acceptButtonTextColor:](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationTermsDialogUIParams#/c:objc(cs)GMSNavigationTermsDialogUIParams(im)initWithBackgroundColor:titleFont:titleColor:mainTextFont:mainTextColor:buttonsFont:cancelButtonTextColor: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;

- `


  ### [-init](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationTermsDialogUIParams#/c:objc(cs)GMSNavigationTermsDialogUIParams(im)init)


  ` Unavailable
  Use designated initializer instead.

  #### Declaration

  Objective-C

      - (null_unspecified instancetype)init;