ISWLe Scan Callback
ISWLeScanCallback
Description :
An interface for notifying BluetoothProfile IPC clients when they have been connected or disconnected to the service.
*Example of use :
- Implementation :
ISWLeScanCallback mScanCallback = new ISWLeScanCallback() { public void onScanCompleted(List<BleDevice> leDevices) { // code ... } public void onScanError(int error) { // code ... } }Content copied to clipboard - Init this callback by calling :
this callback well be called when you need to start scan :BLEManager.getInstance().scanLeDevices(mScanCallback, scanPeriod, context);Content copied to clipboardContent copied to clipboard