Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
Code Example
Basic Usage
Stop When Device Found
Scan with Timeout
Related APIs
my.startBluetoothDevicesDiscovery
Start discovery
my.getBluetoothDevices
Get discovered devices