public interface FirmwareUpdateListener
Modifier and Type | Method and Description |
---|---|
void |
onError(KontaktDfuException exception)
Called when firmware update fails for any reason.
|
void |
onFinished(long totalDurationMillis)
Called when firmware update has finished successfully.
|
void |
onProgress(int progressPercent,
java.lang.String progressStatus)
Called during firmware update.
|
void |
onStarted()
Called when firmware update is initialized.
|
void onStarted()
void onFinished(long totalDurationMillis)
totalDurationMillis
- - Total operation duration in milliseconds.void onProgress(int progressPercent, java.lang.String progressStatus)
progressPercent
- Firmware update progress percentage. From 0 to 100.progressStatus
- Test message with current progress status.void onError(KontaktDfuException exception)
exception
-