android-components / mozilla.components.browser.state.state / ExternalAppType

ExternalAppType

enum class ExternalAppType (source)

Represents different contexts that a custom tab session can be displayed in.

Enum Values

Name Summary
CUSTOM_TAB Custom tab is displayed as a normal custom tab with toolbar.
PROGRESSIVE_WEB_APP Custom tab toolbar is hidden inside a Progressive Web App created by the browser.
TRUSTED_WEB_ACTIVITY Custom tab is displayed fullscreen inside a Trusted Web Activity from an external app.

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.