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

From MozillaWiki
Jump to navigation Jump to search
Line 9: Line 9:
  };
  };


== Attributes ==
== Properties ==
* [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothDeviceEvent#adapter BluetoothAdapterEvent.device]
* [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothDeviceEvent#adapter BluetoothAdapterEvent.device]



Revision as of 03:09, 6 March 2014

Overview

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

Interface

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

Properties

device

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