Changes

Jump to: navigation, search

B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter

1 byte added, 07:28, 22 August 2014
setDiscoverable(boolean aDiscoverable)
; Description
: The method changes the value of the bluetooth adapter's [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#discoverable|discoverable]] property.
: This is an asynchronous method and the result is returned via a Promise. If the setDiscoverable operation succeeds, an [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onattributechanged|onattributechanged]] would be triggered before the Promise is resolved to indicate property [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#discoverable|adapter.discoverable]] has changed.
; Parameters
Confirm
891
edits

Navigation menu