Builder

class Builder
kotlin.Any
   ↳ androidx.browser.customtabs.CustomTabColorSchemeParams.Builder

Builder class for CustomTabColorSchemeParams objects.

Summary

Public constructors

Builder class for CustomTabColorSchemeParams objects.

Public methods

CustomTabColorSchemeParams

Combines all the options that have been into a CustomTabColorSchemeParams object.

CustomTabColorSchemeParams.Builder

CustomTabColorSchemeParams.Builder

CustomTabColorSchemeParams.Builder

Public constructors

<init>

Builder()

Builder class for CustomTabColorSchemeParams objects.

Public methods

build

@NonNull fun build(): CustomTabColorSchemeParams

Combines all the options that have been into a CustomTabColorSchemeParams object.

setNavigationBarColor

@NonNull fun setNavigationBarColor(color: Int): CustomTabColorSchemeParams.Builder

setSecondaryToolbarColor

@NonNull fun setSecondaryToolbarColor(color: Int): CustomTabColorSchemeParams.Builder

setToolbarColor

@NonNull fun setToolbarColor(color: Int): CustomTabColorSchemeParams.Builder