NavigationBarPlugin.getState()
PluginNavigationBarPlugingetStateLess than 1 minute
Get the plugin state value
NavigationBarPlugin.getState([force_update])
Parameters
force_update
Accepts a boolean; whether to force update the state;
force_update === true will re-read the state from the system;
force_update === false will return the cached state data;
Return
- A Promise object that resolves to an object implementing part of the State interface; see NavigationBarPlugin.state for details.
Example
import { NavigationBarPlugin } from "@plaoc/plugins";
const value = NavigationBarPlugin.getState(true)
Platform Support
API/Method/Event | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
getState | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7