Confirmed users
185
edits
m (→enable()) |
|||
| Line 239: | Line 239: | ||
; Description | ; Description | ||
: | : 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. | ||