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