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