Changes

Jump to: navigation, search

B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter

254 bytes added, 08:14, 21 August 2014
stopLeScan(BluetoothDiscoveryHandle aHandle)
; Description
: The method makes the device's adapter stop seeking for an ongoing scan of remote LE devices. ; Parameters: ''aDiscoveryHandle'':: The [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDiscoveryHandle BluetoothDiscoveryHandle] of the ongoing scan to stop.
; Return
; Sample
var adapter = navigator.mozBluetooth.defaultAdapter;
var discoveryHandle = ''discoveryHandle returned from startLeScan method''
adapter.stopLeScan(discoveryHandle).then { function onResolve() {
console.log("Resolved with void value");
}, function onReject(aReason) {
Confirm
891
edits

Navigation menu