Version: Smart Feature Phone 2.5

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 read-only no-link 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.