# AuthTabColorSchemeParams.Builder

Artifact: [androidx.browser:browser](https://developer.android.com/jetpack/androidx/releases/browser) [View Source](https://cs.android.com/search?q=file:androidx/browser/auth/AuthTabColorSchemeParams.java+class:androidx.browser.auth.AuthTabColorSchemeParams.Builder) Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/browser#1.9.0)

*** ** * ** ***


```
class AuthTabColorSchemeParams.Builder
```

<br />

*** ** * ** ***

Builder class for `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabColorSchemeParams` objects. The browser's default colors will be used for any unset value.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabColorSchemeParams.Builder#Builder()()` |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabColorSchemeParams` | `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabColorSchemeParams.Builder#build()()` Combines all the options that have been set and returns a new `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabColorSchemeParams` object. |
| `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabColorSchemeParams.Builder` | `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabColorSchemeParams.Builder#setNavigationBarColor(int)(color: @https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the navigation bar color. |
| `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabColorSchemeParams.Builder` | `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabColorSchemeParams.Builder#setNavigationBarDividerColor(int)(color: @https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the navigation bar divider color. |
| `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabColorSchemeParams.Builder` | `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabColorSchemeParams.Builder#setToolbarColor(int)(color: @https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the toolbar color. |

## Public constructors

### Builder

Added in 1.9.0

```
Builder()
```

## Public functions

### build

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/browser#1.9.0)

```
fun build(): AuthTabColorSchemeParams
```

Combines all the options that have been set and returns a new `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabColorSchemeParams` object.

### setNavigationBarColor

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/browser#1.9.0)

```
fun setNavigationBarColor(color: @ColorInt Int): AuthTabColorSchemeParams.Builder
```

Sets the navigation bar color. To ensure good contrast between navigation bar icons and the background, Auth Tab implementations may use APPEARANCE_LIGHT_NAVIGATION_BARS.

| Parameters |
|---|---|
| `color: @https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The color integer. The alpha value will be ignored. |

### setNavigationBarDividerColor

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/browser#1.9.0)

```
fun setNavigationBarDividerColor(color: @ColorInt Int): AuthTabColorSchemeParams.Builder
```

Sets the navigation bar divider color.

| Parameters |
|---|---|
| `color: @https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The color integer. |

### setToolbarColor

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/browser#1.9.0)

```
fun setToolbarColor(color: @ColorInt Int): AuthTabColorSchemeParams.Builder
```

Sets the toolbar color. This color is also applied to the status bar. To ensure good contrast between status bar icons and the background, Auth Tab implementations may use APPEARANCE_LIGHT_STATUS_BARS.

| Parameters |
|---|---|
| `color: @https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The color integer. The alpha value will be ignored. |