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

m
Line 239: Line 239:


; Description
; Description
: The <tt>enable</tt> method turns on the local bluetooth adapter.
: Turns on the local bluetooth adapter.
: DOMRequest onsucess will be returned after [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onattributechanged onattributechanged] which indicates state of the adapter is ''enabled''.
: DOMRequest onsucess will be returned after [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onattributechanged onattributechanged] which indicates state of the adapter is ''enabled''.
: ''instanceOfBluetoothAdapter''.state should be enabling when the function finish.
: ''instanceOfBluetoothAdapter''.state should be enabling when the function finish.
Confirmed users
185

edits