B2G/Bluetooth/WebBluetooth-v2/BluetoothDeviceEvent: Difference between revisions
< B2G | Bluetooth | WebBluetooth-v2
Jump to navigation
Jump to search
m (→Overview) |
m (→Attributes) |
||
| Line 9: | Line 9: | ||
}; | }; | ||
== | == 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