Package com.medm.devicekit
Interface IScannerCallback
-
public interface IScannerCallback
Callback for receiving info about scan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAmbiguousDeviceFound(IDeviceDescription[] devices)
Called when new device is found, but Device Kit can't identify itvoid
onDeviceFound(IDeviceDescription device)
Called when new device is foundvoid
onScanFinished()
Called when scan is finished
-
-
-
Method Detail
-
onDeviceFound
void onDeviceFound(IDeviceDescription device)
Called when new device is found- Parameters:
device
- device which was found. Fields that would be provided are SKU, Address, Name, Title, Manufacturer, RSSI
-
onAmbiguousDeviceFound
void onAmbiguousDeviceFound(IDeviceDescription[] devices)
Called when new device is found, but Device Kit can't identify it- Parameters:
devices
- possible device variants. IDeviceDescription fields that would be provided are SKU, Address, Name, Title, Manufacturer, RSSI
-
onScanFinished
void onScanFinished()
Called when scan is finished
-
-