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