Skip to main content

StatusBarPlugin.setColor()

BFChainPluginStatusBarPluginsetColorLess 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/EventsAndroidiOSDesktop-DevDesktop
setColorX

StatusBarPlugin

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