Changes

Jump to: navigation, search

B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter

1 byte added, 07:29, 22 August 2014
stopDiscovery()
; Description
: The method makes the device's adapter stop seeking for remote devices.
: This is an asynchronous method and its result is returned via a Promise. If the stopDiscovery operation succeeds, an [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onattributechanged|onattributechanged]] would be triggered before the Promise is resolved to indicate property [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#discovering|adapter.discovering]] becomes false. Note adapter may still receive [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDiscoveryHandle#ondevicefound|BluetoothDiscoveryHandle.ondevicefound]] event until the Promise is resolved.
; Return
Confirm
891
edits

Navigation menu