|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
| == Overview ==
| | remove this page. |
| '''BluetoothDiscoveryHandle''' is used to notify application of discovered remote bluetooth device. Its event handler ondevicefound is fired each time a remote bluetooth device is discovered.
| |
| | |
| == Interface ==
| |
| interface BluetoothStartDiscoverRequest: EventTarget {
| |
| attribute EventHandler [[B2G/Bluetooth/WebBluetooth-v2/BluetoothStartDiscoveryRequest#ondevicefound|ondevicefound]];
| |
| }
| |
| | |
| == Event Handler ==
| |
| * [[B2G/Bluetooth/WebBluetooth-v2/BluetoothStartDiscoveryRequest#ondevicefound|BluetoothStartDiscoveryRequest.ondevicefound]]
| |
| | |
| === ondevicefound ===
| |
| ; Description
| |
| : A event handler to trigger each time a remote bluetooth device is discovered.
| |
| | |
| ; Parameter
| |
| : aDeviceEvent
| |
| :: The event is a [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDeviceEvent|BluetoothDeviceEvent]] with property device as the discovered remote bluetooth device.
| |