B2G/Bluetooth/WebBluetooth-v2/BluetoothDeviceEvent
< B2G | Bluetooth | WebBluetooth-v2
Jump to navigation
Jump to search
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