Changes

Jump to: navigation, search

B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter

157 bytes added, 09:26, 22 August 2014
BluetoothAdapter
readonly attribute boolean [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#discoverable|discoverable]];
readonly attribute boolean [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#discovering|discovering]];
[AvailableIn=CertifiedApps] readonly attribute [[B2G/Bluetooth/WebBluetooth-v2/BluetoothPairingListener#Interface|BluetoothPairingListener]] [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#pairingReqs|pairingReqs]];
attribute EventHandler [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onattributechanged|onattributechanged]];
attribute EventHandler [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#ondeviceunpaired|ondeviceunpaired]];
[NewObject, Throws] Promise<void> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#enable.28.29|enable()]]; [NewObject, Throws] Promise<void> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#disable.28.29|disable()]]; [NewObject, Throws] Promise<void> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#setName.28.29|setName(DOMString aName)]]; [NewObject, Throws] Promise<void> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#setDiscoverable.28.29|setDiscoverable(boolean aDiscoverable)]]; [NewObject, Throws] Promise<[[B2G/Bluetooth/WebBluetooth-v2/BluetoothDiscoveryHandle|BluetoothDiscoveryHandle]]> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#startDiscovery.28.29|startDiscovery()]]; [NewObject, Throws] Promise<void> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#stopDiscovery.28.29|stopDiscovery()]]; [NewObject, Throws] Promise<void> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#pair.28.29|pair(DOMString aAddress)]]; [NewObject, Throws] Promise<void> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#unpair.28.29|unpair(DOMString aAddress)]];
sequence<BluetoothDevice> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#getPairedDevices.28.29|getPairedDevices()]];
Promise<[[B2G/Bluetooth/WebBluetooth-v2/BluetoothDiscoveryHandle|BluetoothDiscoveryHandle]]> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#startLeScan.28sequence.3CDOMString.3E_aServiceUuids.29|startLeScan(sequence<DOMString> aServiceUuids)]];
Confirm
891
edits

Navigation menu