Package io.anyline2.legacy.products
Interface IAnylineUpdateDelegate
-
public interface IAnylineUpdateDelegate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onUpdateError(java.lang.String error)
Gives the error message in case the update failsvoid
onUpdateFinished()
Gives the callback that the update has finishedvoid
onUpdateProgress(java.lang.String fileName, float progress)
Gives current progress for the running update
-
-
-
Method Detail
-
onUpdateProgress
void onUpdateProgress(java.lang.String fileName, float progress)
Gives current progress for the running update- Parameters:
fileName
- Name of the file that gets updatedprogress
- Float, percentage of how much is downloaded already
-
onUpdateError
void onUpdateError(java.lang.String error)
Gives the error message in case the update fails- Parameters:
error
- Error message
-
onUpdateFinished
void onUpdateFinished()
Gives the callback that the update has finished
-
-