Version: Smart Feature Phone 3.0

BluetoothAdapter.onpairingaborted

Description#

Specifies an event listener to receive pairingaborted events. Those events occur when pairing fails due to one of following reasons:

  • authentication fails
  • remote device down
  • internal error happens

Syntax#

instanceOfBluetoothAdapter.onpairingaborted = funcRef

Where funcRef is a function to be called when the pairingaborted event occurs. That function gets a string as its first parameter which represents the Bluetooth device address of remote device.