B2G/Bluetooth/WebBluetooth-v2/BluetoothDeviceEvent: Difference between revisions
< B2G | Bluetooth | WebBluetooth-v2
Jump to navigation
Jump to search
m (→Overview) |
m (→Overview) |
||
| 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.28.29 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.28.29 BluetoothStartDiscoveryRequest.ondevicefound] for more information. <br> | ||
This interface inherits from the [https://developer.mozilla.org/en-US/docs/Web/API/Event Event] interface. | This interface inherits from the [https://developer.mozilla.org/en-US/docs/Web/API/Event Event] interface. | ||
Revision as of 01:57, 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;
};
Attributes
device
- Description
- A BluetoothDevice object representing the device to access
- Value type
- BluetoothDevice