Tags: 2.5 Privileged


The BluetoothDiscoveryHandle interface of the Bluetooth API is used to notify the current application about the discovery of a remote bluetooth device.

Interface overview

interface BluetoothDiscoveryHandle : EventTarget {
  attribute EventHandler ondevicefound;


  • BluetoothDiscoveryHandle.ondevicefound Defines an event handler to trigger each time the devicefound event is fired; this occurs when a remote bluetooth device is discovered. Its parameter is either a BluetoothDeviceEvent or BluetoothLeDeviceEvent, depending on the type of device discovered.