android-components / mozilla.components.browser.session.tab / CustomTabConfig

CustomTabConfig

class CustomTabConfig (source)

Holds configuration data for a Custom Tab. Use createFromIntent to create instances.

Properties

actionButtonConfig

val actionButtonConfig: CustomTabActionButtonConfig?

closeButtonIcon

val closeButtonIcon: Bitmap?

disableUrlbarHiding

val disableUrlbarHiding: Boolean

id

val id: String

menuItems

val menuItems: List<CustomTabMenuItem>

options

val options: List<String>

showShareMenuItem

val showShareMenuItem: Boolean

toolbarColor

val toolbarColor: Int?

Companion Object Functions

createFromIntent

fun createFromIntent(intent: SafeIntent): CustomTabConfig

Creates a CustomTabConfig instance based on the provided intent.

isCustomTabIntent

fun isCustomTabIntent(intent: SafeIntent): Boolean

Checks if the provided intent is a custom tab intent.