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

From MozillaWiki
Jump to navigation Jump to search
(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...")
 
Line 1: Line 1:
== Overview ==
== Overview ==
The BluetoothDeviceEvent API provides access to a Bluetooth device when the devicefound event is fired. See [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#startDiscovery BluetoothStartDiscoveryRequest.ondevicefound] for more information.
The BluetoothDeviceEvent API provides access to a Bluetooth device when the devicefound event is fired. See [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#startDiscovery() BluetoothStartDiscoveryRequest.ondevicefound] for more information.


== Interface ==
== Interface ==

Revision as of 11:27, 5 March 2014

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