Skip to main content

StatusBarPlugin.setState()

BFChainPluginStatusBarPluginsetStateLess 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/EventsAndroidiOSDesktop-DevDesktop
setStateX

StatusBarPlugin

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.7