B2G/Bluetooth/WebBluetooth-v2/BluetoothStartDiscoveryRequest

From MozillaWiki
Jump to navigation Jump to search

Overview

Interface

interface BluetoothStartDiscoverRequest: DOMRequest {
  attribute EventHandler ondevicefound;
}

Event Handler

ondevicefound

Description
A event handler to trigger each time a remote bluetooth device is discovered.
Parameter
aDeviceEvent
The event is a BluetoothDeviceEvent with property device as the discovered remote bluetooth device.