public static interface DeviceConnection.FirmwareUpdateCallback
Modifier and Type | Method and Description |
---|---|
void |
onFailure(DeviceConnectionException e)
An error occurred during beacon's update.
|
void |
onProgress(float progress,
java.lang.String message)
Progress notification of the update.
|
void |
onSuccess()
Invoked when beacon has been updated.
|
void onSuccess()
void onProgress(float progress, java.lang.String message)
progress
- Progress of the update. Range: 0..1, where 0 represents 0% and 1 represents 100%.message
- Human readable status of beacon's update procedure.void onFailure(DeviceConnectionException e)
e
- Exception that happened.