The Android Developer Challenge is back! Submit your idea before December 2.

Builder

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

Builder class for CustomTabColorSchemeParams objects. The browser's default colors will be used for any unset value.

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. The browser's default colors will be used for any unset value.

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