StatusBarPlugin.getStyle()
August 11, 2023
- Plugin
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.13.0