android-components / mozilla.components.feature.customtabs.store / CustomTabState

CustomTabState

data class CustomTabState (source)

Value type that represents the state of a single custom tab accessible from both the service and activity.

This data is meant to supplement mozilla.components.browser.session.tab.CustomTabConfig, not replace it. It only contains data that the service also needs to work with.

Constructors

Name Summary
<init> CustomTabState(creatorPackageName: String? = null, relationships: Map<OriginRelationPair, VerificationStatus> = emptyMap())
Value type that represents the state of a single custom tab accessible from both the service and activity.

Properties

Name Summary
creatorPackageName val creatorPackageName: String?
Package name of the app that created the custom tab.
relationships val relationships: Map<OriginRelationPair, VerificationStatus>
Map of origin and relationship type to current verification state.

Extension Properties

Name Summary
trustedOrigins val CustomTabState.trustedOrigins: List<Nothing>
Returns a list of trusted (or pending) origins.