TwclBluetoothRadio.RemoteUnpair(Int64,TwclBluetoothPairingMethod,Boolean) Method
Unpair a remote Bluetooth device.
public function RemoteUnpair(const Address: Int64; const Method: TwclBluetoothPairingMethod = pmAuto; const Force: Boolean = False): Integer;
Parameters
- Address
- Type: Int64
The remote Bluetooth device's MAC address.
- Method
- Type: TwclBluetoothPairingMethod
The unpairing method.
- Force
- Type: Boolean
Set this parameter to
True
to disable device pairing state and force unpairing.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.