B2G/Bluetooth/WebBluetooth-v2/BluetoothDeviceEvent

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