B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent

From MozillaWiki
< B2G‎ | Bluetooth‎ | WebBluetooth-v2
Revision as of 11:08, 5 March 2014 by Jamin Liu (talk | contribs) (Created page with "== Overview == The BluetoothAdapterEvent API provides access to a Bluetooth adapter when the adapteradded event is fired. See [https://wiki.mozilla.org/B2G/Bluetooth/WebBlueto...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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