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

CustomTabsServiceState

data class CustomTabsServiceState : State (source)

Value type that represents the custom tabs state accessible from both the service and activity.

Constructors

Name Summary
<init> CustomTabsServiceState(tabs: Map<CustomTabsSessionToken, CustomTabState> = emptyMap())
Value type that represents the custom tabs state accessible from both the service and activity.

Properties

Name Summary
tabs val tabs: Map<CustomTabsSessionToken, CustomTabState>

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.