StatusBarPlugin.setState()
PluginStatusBarPluginsetStateLess than 1 minute
Set system status bar state
StatusBarPlugin.setState(state)
Parameters
state
An object implementing partial State interface;
Valid properties include:[overlay, visible, color, style]
Return Value
- A Promise object that resolves to null
Example
import { statusBarPlugin } from "@plaoc/plugins";
const value = statusBarPlugin.setState({overlay:true})
Platform Compatibility
Properties/Methods/Events | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
setState | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7