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

m
Line 326: Line 326:


; Description
; Description
: The <tt>startDiscovery</tt> method makes the device's adapter start seeking for remote devices. The discovery process may be terminated after discovering a period of time. An [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onattributechanged onattributechanged] event would be fired in that case.
: Makes the device's adapter start seeking for remote devices. The discovery process may be terminated after discovering a period of time. An [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onattributechanged onattributechanged] event would be fired in that case.
: DOMRequest onsucess will be returned after [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onattributechanged onattributechanged] which indicates the adapter is discovering.
: DOMRequest onsucess will be returned after [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onattributechanged onattributechanged] which indicates the adapter is discovering.


Confirmed users
185

edits