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

BluetoothAdapter.stopDiscovery

Description#

The stopDiscovery method is used to have the device's adapter stop seeking for remote devices.

Syntax#

var promise = instanceOfBluetoothAdapter.stopDiscovery();

Return value#

A Promise to indicate whether the operation is resolved or rejected. If the bluetooth adapter is currently disabled, the Promise would be rejected. In case of success, the BluetoothAdapter.discovering property is set to false.