B2G/Bluetooth/WebBluetooth-v2/BluetoothDeviceEvent

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

Overview

The BluetoothDeviceEvent API provides access to a Bluetooth device when the devicefound event is fired. See BluetoothStartDiscoveryRequest.ondevicefound for more information.

Interface

interface BluetoothDeviceEvent : Event
{
  readonly attribute BluetoothDevice device;
};

Attributes

device

Description
A BluetoothDevice object representing the device to access
Value type
BluetoothDevice