Package io.anyline2.legacy.trainer
Interface IAssetDelegate
-
- All Implemented Interfaces:
public interface IAssetDelegate
-
-
Method Summary
Modifier and Type Method Description abstract voidonAssetUpdateAvailable(boolean updateAvailable)Callback for checking whether new updates are available abstract voidonAssetDownloadProgress(String assetName, float progress)Callback which gives a progress of the asset downlaod abstract voidonAssetUpdateError(String error)Callback when there was an error downloading the assets abstract voidonAssetUpdateFinished()Callback after finishing downloading assets -
-
Method Detail
-
onAssetUpdateAvailable
abstract void onAssetUpdateAvailable(boolean updateAvailable)
Callback for checking whether new updates are available
- Parameters:
updateAvailable- Returns status whether updates are available
-
onAssetDownloadProgress
abstract void onAssetDownloadProgress(String assetName, float progress)
Callback which gives a progress of the asset downlaod
- Parameters:
assetName- Name of the asset downloadedprogress- Progress of the download
-
onAssetUpdateError
abstract void onAssetUpdateError(String error)
Callback when there was an error downloading the assets
- Parameters:
error- Error message
-
onAssetUpdateFinished
abstract void onAssetUpdateFinished()
Callback after finishing downloading assets
-
-
-
-