Version: Smart Feature Phone 3.0

BluetoothDiscoveryHandle.ondevicefound

Description#

Specifies an event listener to receive devicefound events. Those events occur when a remote Bluetooth device is discovered.

Syntax#

instanceOfBluetoothDiscoveryHandle.ondevicefound = funcRef

Where funcRef is a function to be called when the devicefound event occurs. That function either gets a BluetoothDeviceEvent or BluetoothLeDeviceEvent object as its first parameter.