B2G/Bluetooth/WebBluetooth-v2/BluetoothDeviceEvent: Difference between revisions
< B2G | Bluetooth | WebBluetooth-v2
Jump to navigation
Jump to search
m (→Overview) |
m (→device) |
||
| Line 16: | Line 16: | ||
; Value type | ; Value type | ||
: BluetoothDevice | : [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice BluetoothDevice] | ||
Revision as of 11:38, 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