B2G/Bluetooth/WebBluetooth-v2/BluetoothStartDiscoveryRequest: Difference between revisions

Line 1: Line 1:
== Overview ==
== Overview ==
'''BluetoothStartDiscoveryRequest''' extends DOMRequest to handle the discovered devices. Its onsuccess is fired to indicate startDiscovery operation has completed, and ondevicefound is fired each time a remote bluetooth device is discovered. If the bluetooth adapter is currently disabled, the DOMRequest's onerror is fired.
'''BluetoothDiscoveryHandle''' is used to notify application of discovered remote bluetooth device. Its event handler ondevicefound is fired each time a remote bluetooth device is discovered.


== Interface ==
== Interface ==
Confirmed users
891

edits