org.openmuc.framework.config
public interface DeviceScanListener
Modifier and Type | Method and Description |
---|---|
void |
deviceFound(DeviceScanInfo scanInfo)
Called immediately when a new device has been found.
|
void |
scanError(java.lang.String message)
Called when there has been a scan error reported by the driver.
|
void |
scanFinished()
Called when scan is finished.
|
void |
scanInterrupted()
Called when scan was interrupted through
interruptScanDevice() |
void |
scanProgress(int progress)
Called when scan is progressing.
|
void deviceFound(DeviceScanInfo scanInfo)
scanInfo
- the information of the device foundvoid scanProgress(int progress)
progress
- the scan progress in percentagevoid scanFinished()
void scanInterrupted()
interruptScanDevice()
void scanError(java.lang.String message)
message
- the error message