Version: Smart Feature Phone 2.5Version: Smart Feature Phone 2.6

BluetoothAdapter.unpair

Description#

The unpair method is used to remove the paired device from the paired device list of the device's adapter.

Syntax#

var promise = instanceOfBluetoothAdapter.unpair(deviceAddress);

Parameters#

  • deviceAddress A DOMString object representing the address of the device to unpair from.

Return value#

A Promise to indicate whether the operation is resolved or rejected. Note event handler ondeviceunpaired would be triggered before the Promise is resolved.