Skip to main content

StatusBarPlugin.getStyle()

BFChainPluginStatusBarPlugingetStyleLess than 1 minute

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/EventsAndroidiOSDesktop-DevDesktop
getStyleX

StatusBarPlugin

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