Changes

Jump to: navigation, search

B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter

334 bytes added, 09:21, 11 March 2015
Event Handlers
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#ondevicepaired|BluetoothAdapter.ondevicepaired]]
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#ondeviceunpaired|BluetoothAdapter.ondeviceunpaired]]
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onpairingaborted|BluetoothAdapter.onpairingaborted]]
=== onattributechanged ===
: ''aDeviceEvent''
:: The event is a [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDeviceEvent#Interface|BluetoothDeviceEvent]] with property [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDeviceEvent#address|address]] as the unpaired remote bluetooth device's address.
 
=== onpairingaborted ===
; Description
: A handler to trigger when pairing fails due to one of following conditions:
: - authentication fails
: - remote device down (bluetooth ACL becomes disconnected)
: - internal error happens
== Methods ==
Confirm
891
edits

Navigation menu