Module: siteKiosk.system.android.window

This module provides access to the system windows properties. Via thia module you can set Fullscreen and Immersive mode and retrieve if the said properties are set. For more information on Immersive and Full-Screen Mode, visit the Android Documentation

Please note that immersive mode is only available on devices with Android 4.4 (API Level 19) or higher.

Methods

<static> getFullscreen() → {boolean}

Returns, whether full screen mode is enabled.
Returns:
Whether full screen mode is enabled
Type
boolean

<static> getImmersive() → {boolean}

Returns, whether immersive fullscreen mode is enabled.
Returns:
Whether immersive fullscreen mode mode is enabled
Type
boolean

<static> getLowProfile() → {boolean}

Returns, whether the low profile is enabled.
Returns:
Whether the low profile is enabled
Type
boolean

<static> setFullscreen(full)

Enables full screen mode. This will cause system user interface elements to be hidden on some devices, but may cause the on screen keyboard to be an overlay when visible.
Parameters:
Name Type Description
full boolean screen Whether full screen mode should be enabled

<static> setImmersive(immersive)

Enables immersive fullscreen mode. This mode hides the navigation and status bar, but allows the user to restore them temporarily using a gesture.
Parameters:
Name Type Description
immersive boolean Whether immersive fullscreen should be enabled

<static> setLowProfile(lowProfile)

Enables the low profile. This mode lights out the bottom status bar.
Parameters:
Name Type Description
lowProfile boolean Whether the low profile should be enabled

<static> setSoftInputMode(mode)

Specify an explicit soft input mode to use for the window.
Parameters:
Name Type Description
mode number A soft input mode (0: unspecified, 1: unchanged, 2: hidden, 3: always hidden, 4: visible, 5: always visible)