object StatusBar
Main object for Cordova status bar.
fun addTapListener(listener: () -> Unit): Unit
Add listeners for the status bar tap event. |
|
fun hide(): Unit
Hide status bar. |
|
suspend fun isVisible(): Boolean
Returns if the status bar is visible. |
|
fun overlaysWebView(overlays: Boolean): Unit
Set overlay. |
|
fun setBackgroundColor(color: Int): Unit
Sets the background color of the status bar by a hexadecimal Int. |
|
fun setBackgroundColorByHexString(color: String): Unit
Sets the background color of the status bar by a hex string. |
|
fun show(): Unit
Show status bar. |
|
fun styleBlackOpaque(): Unit
Use the blackOpaque status bar (light text, for dark backgrounds). |
|
fun styleBlackTranslucent(): Unit
Use the blackTranslucent status bar (light text, for dark backgrounds). |
|
fun styleDefault(): Unit
Use the default status bar (dark text, for light backgrounds). |
|
fun styleLightContent(): Unit
Use the lightContent status bar (light text, for dark backgrounds). |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |