TrustedWebActivityIntentBuilder
open class TrustedWebActivityIntentBuilder
kotlin.Any | |
↳ | androidx.browser.trusted.TrustedWebActivityIntentBuilder |
Constructs instances of TrustedWebActivityIntent
that can be used to start Trusted Web Activities (see TrustedWebUtils
for more details).
Summary
Constants | |
---|---|
static String |
Extra for the Trusted Web Activity launch Intent to specify a list of origins for the browser to treat as trusted, in addition to the origin of the launching URL. |
static String |
Extra for the |
static String |
Extra for the screenOrientation, see |
static String |
Extra for the share data, see |
static String |
Extra for the share target, see |
static String |
Extra for the Trusted Web Activity launch Intent to specify a |
Public constructors | |
---|---|
Creates a Builder given the required parameters. |
Constants
EXTRA_ADDITIONAL_TRUSTED_ORIGINS
static val EXTRA_ADDITIONAL_TRUSTED_ORIGINS: String
Extra for the Trusted Web Activity launch Intent to specify a list of origins for the browser to treat as trusted, in addition to the origin of the launching URL. It is recommended to use TrustedWebActivityIntentBuilder
instead of manually piecing the Intent together.
Value: "android.support.customtabs.extra.ADDITIONAL_TRUSTED_ORIGINS"
EXTRA_DISPLAY_MODE
static val EXTRA_DISPLAY_MODE: String
Extra for the TrustedWebActivityDisplayMode
, see setDisplayMode
.
Value: "androidx.browser.trusted.extra.DISPLAY_MODE"
EXTRA_SCREEN_ORIENTATION
static val EXTRA_SCREEN_ORIENTATION: String
Extra for the screenOrientation, see setScreenOrientation
.
Value: "androidx.browser.trusted.extra.SCREEN_ORIENTATION"