StatusBarPlugin.getColor()
PluginStatusBarPlugingetColorLess than 1 minute
Get the color [background color] of the system status bar
StatusBarPlugin.getColor()
Parameters
- None
Return Value
- A Promise object that resolves to a string representing a hexadecimal color; e.g.
#FFFFFFFF
Example
import { statusBarPlugin } from "@plaoc/plugins";
const value = statusBarPlugin.getColor("#FFFFFFFF")
Platform Compatibility
Properties/Methods/Events | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
getColor | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7