Skip to main content

BluetoothRequestAndConnectDeviceResponse

BFChainInterfaceBluetoothRequestAndConnectDeviceResponseLess than 1 minute

BluetoothRequestAndConnectDeviceResponse is a Promise returned by the Bluetooth.requestAndConnectDevice() 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 the Bluetooth connection is successful;
The attribute value is false; it means that the Bluetooth interception failed;
  • error

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

  • data

    The attribute value is undefined or an object that implements the BluetoothRemoteGATTServer interface;

Method

  • none

Event

  • none

Platform Compatibility

Property/Method/EventAndroidIOSDesktop-DevDesktop
successX
errorX
dataX

BluetoothPlugin

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