public static interface BLEHelper.OnSearchDeviceListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
onNewDeviceFound(android.bluetooth.BluetoothDevice device)
发现一个新设备时回调
|
void |
onSearchCompleted(java.util.List<android.bluetooth.BluetoothDevice> bondedList,
java.util.List<android.bluetooth.BluetoothDevice> newList)
扫描设备结束时回调
|
void |
onStartDiscovery()
开始扫描设备
|
void onStartDiscovery()
boolean onNewDeviceFound(android.bluetooth.BluetoothDevice device)
device - void onSearchCompleted(java.util.List<android.bluetooth.BluetoothDevice> bondedList,
java.util.List<android.bluetooth.BluetoothDevice> newList)