StatusBar

object StatusBar

Main object for Cordova status bar.

Functions

Link copied to clipboard
fun addTapListener(listener: () -> Unit)

Add listeners for the status bar tap event.

Link copied to clipboard
fun hide()

Hide status bar.

Link copied to clipboard
suspend fun isVisible(): Boolean

Returns if the status bar is visible.

Link copied to clipboard
fun overlaysWebView(overlays: Boolean)

Set overlay.

Link copied to clipboard

Sets the background color of the status bar by a hexadecimal Int.

Link copied to clipboard

Sets the background color of the status bar by a hex string.

Link copied to clipboard
fun show()

Show status bar.

Link copied to clipboard

Use the blackOpaque status bar (light text, for dark backgrounds).

Link copied to clipboard

Use the blackTranslucent status bar (light text, for dark backgrounds).

Link copied to clipboard

Use the default status bar (dark text, for light backgrounds).

Link copied to clipboard

Use the lightContent status bar (light text, for dark backgrounds).