Confirmed users
891
edits
| Line 19: | Line 19: | ||
; Description | ; Description | ||
: A handler to trigger when a bluetooth adapter is plugged into the device. The event | : A handler to trigger when a bluetooth adapter is plugged into the device. | ||
; Parameter | |||
: ''aAdapterEvent'' | |||
:: The event is a [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAddressEvent BluetoothAdapterEvent] with property [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#adapter adapter] as the added bluetooth adapter and isDefault indicating whether the added adapter is default adapter. | |||
; Sample | ; Sample | ||