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

SaveCreatorPackageNameAction

data class SaveCreatorPackageNameAction : CustomTabsAction (source)

Saves the package name corresponding to a custom tab token.

Constructors

Name Summary
<init> SaveCreatorPackageNameAction(token: CustomTabsSessionToken, packageName: String)
Saves the package name corresponding to a custom tab token.

Properties

Name Summary
packageName val packageName: String
Package name of the app that created the custom tab.
token val token: CustomTabsSessionToken
Token of the custom tab.

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.