Version: Smart Feature Phone 3.0

BluetoothDiscoveryHandle

Description#

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

Interface overview#

[CheckAnyPermissions="bluetooth"]
interface BluetoothDiscoveryHandle : EventTarget {
attribute EventHandler ondevicefound;
};

Properties#

  • 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.