Skip to main content

VirtualKeyboardPlugin.getState()

BFChainPluginVirtualKeyboardPlugingetStateLess than 1 minute

Get the state of the virtual keyboard;

VirtualKeyboardPlugin.getState([force_update])

parameters

  • force_update

    The parameter accepts a boolean type of data; whether it is necessary to force the status to be updated;
    force_update === true will re-read status updates from the system;
    force_update === false will return the last cached state data;

return value

Return A Promise object, resolve fulfills an object that implements part of the State interface; for details, refer to the value of the VirtualKeyboardPlugin.state property;

Example

import { virtualKeyboardPlugin } from "@plaoc/plugins";
const value = virtualKeyboardPlugin.getState(true)

Platform Compatibility

Property/Method/EventAndroidIOSDesktop-DevDesktop
getStateX

VirtualKeyboardPlugin

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