public static class **TermsAndConditionsUIParams.Builder** extends Object  
A builder that helps to configure an instance of `TermsAndConditionsUIParams`.

### Public Method Summary

|---|---|
| [TermsAndConditionsUIParams](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams) | [build](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder#build())() Builds the `TermsAndConditionsUIParams` object from the state accumulated in this `Builder`. |
| [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder) | [setAcceptButtonTextColor](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder#setAcceptButtonTextColor(int))(int acceptButtonTextColor) Sets the text color of the Accept button. |
| [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder) | [setBackgroundColor](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder#setBackgroundColor(int))(int backgroundColor) Sets the background color of the dialog box. |
| [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder) | [setButtonsTextSize](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder#setButtonsTextSize(int))(int buttonsTextSize) Sets the text size of the Accept and Cancel buttons. |
| [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder) | [setButtonsTypeface](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder#setButtonsTypeface(android.graphics.Typeface))(Typeface buttonsTypeface) Sets the typeface of the Accept and Cancel buttons. |
| [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder) | [setCancelButtonTextColor](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder#setCancelButtonTextColor(int))(int cancelButtonTextColor) Sets the text color of the Cancel button. |
| [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder) | [setMainTextColor](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder#setMainTextColor(int))(int mainTextColor) Sets the text color of Terms and Driver's Awareness disclaimer. |
| [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder) | [setMainTextTextSize](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder#setMainTextTextSize(int))(int mainTextTextSize) Sets the text size of the Terms and Driver's Awareness disclaimer. |
| [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder) | [setMainTextTypeface](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder#setMainTextTypeface(android.graphics.Typeface))(Typeface mainTextTypeface) Sets the typeface of the Terms and Driver's Awareness disclaimer. |
| [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder) | [setTitleColor](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder#setTitleColor(int))(int titleColor) Sets the color the title text. |
| [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder) | [setTitleTextSize](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder#setTitleTextSize(int))(int titleTextSize) Sets the size of the title text. |
| [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder) | [setTitleTypeface](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder#setTitleTypeface(android.graphics.Typeface))(Typeface titleTypeface) Sets the typeface of the title text. |

### Inherited Method Summary

From class java.lang.Object

|---|---|
| boolean | equals(Object arg0) |
| final Class\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| String | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

## Public Methods

#### public [TermsAndConditionsUIParams](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams)
**build**
()

Builds the `TermsAndConditionsUIParams` object from the state accumulated in this
`Builder`.

#### public [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder)
**setAcceptButtonTextColor**
(int acceptButtonTextColor)

Sets the text color of the Accept button. The background color of the button is transparent.

##### Parameters

| acceptButtonTextColor |   |
|---|---|

#### public [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder)
**setBackgroundColor**
(int backgroundColor)

Sets the background color of the dialog box.

##### Parameters

| backgroundColor |   |
|---|---|

#### public [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder)
**setButtonsTextSize**
(int buttonsTextSize)

Sets the text size of the Accept and Cancel buttons.

##### Parameters

| buttonsTextSize |   |
|---|---|

#### public [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder)
**setButtonsTypeface**
(Typeface buttonsTypeface)

Sets the typeface of the Accept and Cancel buttons.

##### Parameters

| buttonsTypeface |   |
|---|---|

#### public [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder)
**setCancelButtonTextColor**
(int cancelButtonTextColor)

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

##### Parameters

| cancelButtonTextColor |   |
|---|---|

#### public [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder)
**setMainTextColor**
(int mainTextColor)

Sets the text color of Terms and Driver's Awareness disclaimer.

##### Parameters

| mainTextColor |   |
|---|---|

#### public [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder)
**setMainTextTextSize**
(int mainTextTextSize)

Sets the text size of the Terms and Driver's Awareness disclaimer.

##### Parameters

| mainTextTextSize |   |
|---|---|

#### public [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder)
**setMainTextTypeface**
(Typeface mainTextTypeface)

Sets the typeface of the Terms and Driver's Awareness disclaimer.

##### Parameters

| mainTextTypeface |   |
|---|---|

#### public [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder)
**setTitleColor**
(int titleColor)

Sets the color the title text.

##### Parameters

| titleColor |   |
|---|---|

#### public [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder)
**setTitleTextSize**
(int titleTextSize)

Sets the size of the title text.

##### Parameters

| titleTextSize |   |
|---|---|

#### public [TermsAndConditionsUIParams.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/navigation/TermsAndConditionsUIParams.Builder)
**setTitleTypeface**
(Typeface titleTypeface)

Sets the typeface of the title text.

##### Parameters

| titleTypeface |   |
|---|---|