B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 3: Line 3:


== Interface ==
== Interface ==
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#BluetoothAdapterEvent|BluetoothAdapterEvent]]
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#BluetoothAdapterHandle|BluetoothAdapterHandle]]
=== BluetoothAdapterEvent ===
  interface BluetoothAdapterEvent : Event
  interface BluetoothAdapterEvent : Event
  {
  {
   readonly attribute boolean               [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#isDefault|isDefault]];
   readonly attribute boolean           [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#isDefault|isDefault]];
  readonly attribute BluetoothAdapterHandle [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#handle|handle]];
};
 
=== BluetoothAdapterHandle ===
interface BluetoothAdapterHandle
{
   readonly attribute BluetoothAdapter? [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#adapter|adapter]];
   readonly attribute BluetoothAdapter? [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#adapter|adapter]];
   readonly attribute DOMString?        [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#address|address]];
   readonly attribute DOMString?        [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#address|address]];
Line 24: Line 14:
== Properties ==
== Properties ==
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#isDefault|BluetoothAdapterEvent.isDefault]]
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#isDefault|BluetoothAdapterEvent.isDefault]]
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#handle|BluetoothAdapterEvent.handle]]
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#adapter|BluetoothAdapterEvent.adapter]]
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#address|BluetoothAdapterEvent.address]]


=== isDefault ===
=== isDefault ===
Line 32: Line 23:
; Value type
; Value type
: boolean
: boolean
=== handle ===
; Description
: The handle contains either the added [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter|BluetoothAdapter]] object or the address of the removed adapter.
; Value type
: [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#BluetoothAdapterHandle|BluetoothAdapterHandle]]
= BluetoothAdapterHandle =
== Properties ==
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#adapter|BluetoothAdapterEvent.adapter]]
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#address|BluetoothAdapterEvent.address]]


=== adapter ===
=== adapter ===
Confirmed users
891

edits

Navigation menu