Package com.medm.devicekit
Interface IScannerCallback
-
public interface IScannerCallbackCallback for receiving info about scan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAmbiguousDeviceFound(IDeviceDescription[] devices)Called when new device is found, but Device Kit can't identify itvoidonDeviceFound(IDeviceDescription device)Called when new device is foundvoidonScanFinished()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
-
-