B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent

From MozillaWiki
Jump to navigation Jump to search

Overview

The BluetoothAdapterEvent API provides access to a Bluetooth adapter when the adapteradded event is fired. See BluetoothManager.onadapteradded for more information. This interface inherits from the Event interface.

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