B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent
< B2G | Bluetooth | WebBluetooth-v2
Overview
The BluetoothAdapterEvent API provides access to a Bluetooth adapter when the adapteradded event is fired. See BluetoothAdapter.onadapteradded for more information.
Interface
interface BluetoothAdapterEvent : Event
{
readonly attribute BluetoothAdapter adapter;
};
Attributes
adapter
- Description
- A BluetoothAdapter object representing the physical interface which is used to interact with local Bluetooth device.
- Value type
- BluetoothAdapter