public interface BleCentralManagerCallback
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
groupScanResultsEvent(List<BleScanResult> scanResults) |
Called when a group of BLE scan results is reported.
|
void |
scanFailedEvent(int resultCode) |
Callback when scan could not be started.
|
void |
scanResultEvent(BleScanResult result) |
Called to send a notification of the scan result after a BLE scan is complete.
|
void scanResultEvent(BleScanResult result)
result - Indicates the BLE scan result.void scanFailedEvent(int resultCode)
resultCode - Indicates the error code for scan failure.void groupScanResultsEvent(List<BleScanResult> scanResults)
scanResults - Indicates a group of reported BLE scan results.