Package io.anyline2.legacy.products
Interface IAnylineUpdateDelegate
-
- All Implemented Interfaces:
public interface IAnylineUpdateDelegate
-
-
Method Summary
Modifier and Type Method Description abstract void
onUpdateProgress(String fileName, float progress)
Gives current progress for the running update abstract void
onUpdateError(String error)
Gives the error message in case the update fails abstract void
onUpdateFinished()
Gives the callback that the update has finished -
-
Method Detail
-
onUpdateProgress
abstract void onUpdateProgress(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
abstract void onUpdateError(String error)
Gives the error message in case the update fails
- Parameters:
error
- Error message
-
onUpdateFinished
abstract void onUpdateFinished()
Gives the callback that the update has finished
-
-
-
-