StatusBarPlugin.setStyle()

BFChainAugust 11, 2023
  • Plugin
  • StatusBarPlugin
  • setStyle
Less than 1 minute

Set the style [foreground color] of the system status bar

StatusBarPlugin.setStyle(style)

Parameters

  • style

    Accepts a string; Possible string values: "DARK" "LIGHT" "DEFAULT" See State.style property for details;

Return Value

  • A Promise object that resolves to null

Example

import { statusBarPlugin } from "@plaoc/plugins";
const value = statusBarPlugin.setStyle("DEFAULT")

Platform Compatibility

Properties/Methods/EventsAndroidiOSDesktop-DevDesktop
setStyleX

StatusBarPlugin

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