public interface IFirmwareUpdateListener
Use the FirmwareUpdateManager.installUpdatePackage(String, IFirmwareUpdateListener, boolean, String)
method to receive firmware update process updates using this listener.
FirmwareUpdateManager
Modifier and Type | Method | Description |
---|---|---|
void |
onError(java.lang.String error) |
Notifies about firmware update error.
|
void |
updatePackageCopyFinished() |
Notifies that update package copy operation finished.
|
void |
updatePackageCopyStarted() |
Notifies that update package copy operation started.
|
void |
updateStarted() |
Notifies that the update process started and device is about to reboot.
|
void |
verifyFinished() |
Notifies that package verification finished.
|
void |
verifyProgress(int progress) |
Notifies about update package verification progress.
|
void |
verifyStarted() |
Notifies that update package verification started.
|
void updatePackageCopyStarted()
This method is only called if update package file needs to be copied to data partition.
void updatePackageCopyFinished()
This method is only called if update package file needs to be copied to data partition.
void verifyStarted()
This method is only called if update package verification was requested on the firmware update call.
void verifyProgress(int progress)
This method is only called if update package verification was requested on the firmware update call.
progress
- Verification progress percentage.void verifyFinished()
This method is only called if update package verification was requested on the firmware update call.
void updateStarted()
void onError(java.lang.String error)
error
- Firmware update error message.