StatusBarPlugin.setStyle()
PluginStatusBarPluginsetStyleLess than 1 minute
Set the style [foreground color] of the system status bar
StatusBarPlugin.setStyle(style)
Parameters
style
Accepts a string; Possible string values:
"DARK"
"LIGHT"
"DEFAULT"
See State.style property for details;
Return Value
- A Promise object that resolves to null
Example
import { statusBarPlugin } from "@plaoc/plugins";
const value = statusBarPlugin.setStyle("DEFAULT")
Platform Compatibility
Properties/Methods/Events | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
setStyle | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7