BluetoothOpenResponse

BFChainAugust 11, 2023
  • Interface
  • BluetoothOpenResponse
Less than 1 minute

BluetoothOpenResponse is a promise returned by the Bluetooth.open() method, a data object that is cashed after resolve; this object inherits the BluetoothResponse interface;

Property

  • success

    The attribute value is a boolean; The attribute value is true; it means that the bluetooth is turned on successfully; The attribute value is false; it means that the bluetooth has failed to open;

  • error

    The attribute value is a string and is undefined; The attribute value is a string representing the error message;

  • data

    The attribute value is undefined;

Method

  • none

Event

  • none

Platform Compatibility

Property/Method/EventAndroidIOSDesktop-DevDesktop
successX
errorX
dataX

BluetoothPlugin

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