TrustedWebActivityDisplayMode.WindowControlsOverlay


class TrustedWebActivityDisplayMode.WindowControlsOverlay : TrustedWebActivityDisplayMode


Window controls overlay mode: Experimental display mode where the entire window surface is be available for the app's web content. System controls (maximize, minimize, close, etc) will be displayed as overlays on top of the web contents. This is not the same as immersive mode because the web activity can be in a free-floating window with window controls overlay enabled. In immersive mode, the web activity will occupy the entire screen. {@see https://github.com/WICG/window-controls-overlay/blob/main/explainer.md} {@see https://wicg.github.io/window-controls-overlay/}

Summary

Public constructors

Public functions

Bundle

Packs the object into a Bundle.

Inherited Constants

From androidx.browser.trusted.TrustedWebActivityDisplayMode
const String!
KEY_ID = "androidx.browser.trusted.displaymode.KEY_ID"

Bundle key for the integer identifying the mode.

Inherited functions

From androidx.browser.trusted.TrustedWebActivityDisplayMode
java-static TrustedWebActivityDisplayMode
fromBundle(bundle: Bundle)

Unpacks the object from a Bundle.

Public constructors

WindowControlsOverlay

Added in 1.10.0-alpha01
WindowControlsOverlay()

Public functions

toBundle

fun toBundle(): Bundle

Packs the object into a Bundle.