TrustedWebActivityDisplayMode
public
interface
TrustedWebActivityDisplayMode
androidx.browser.trusted.TrustedWebActivityDisplayMode |
Represents display mode of a Trusted Web Activity.
Summary
Nested classes | |
---|---|
class |
TrustedWebActivityDisplayMode.DefaultMode
Default mode: the system UI (status bar, navigation bar) is shown, and the browser toolbar is hidden while the user is on a verified origin. |
class |
TrustedWebActivityDisplayMode.ImmersiveMode
Immersive mode: both the browser controls and the system UI (status bar, navigation bar) is hidden while the user is on a verified origin. |
Constants | |
---|---|
String |
KEY_ID
Bundle key for the integer identifying the mode. |
Public methods | |
---|---|
static
TrustedWebActivityDisplayMode
|
fromBundle(Bundle bundle)
Unpacks the object from a |
abstract
Bundle
|
toBundle()
Packs the object into a |
Constants
KEY_ID
public static final String KEY_ID
Bundle key for the integer identifying the mode.
Constant Value: "androidx.browser.trusted.displaymode.KEY_ID"
Public methods
fromBundle
public static TrustedWebActivityDisplayMode fromBundle (Bundle bundle)
Unpacks the object from a Bundle
.
Parameters | |
---|---|
bundle |
Bundle |
Returns | |
---|---|
TrustedWebActivityDisplayMode |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-24 UTC.