Package io.anyline2.legacy.trainer
Interface IAssetDelegate
-
public interface IAssetDelegate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAssetDownloadProgress(java.lang.String assetName, float progress)
Callback which gives a progress of the asset downlaodvoid
onAssetUpdateAvailable(boolean updateAvailable)
Callback for checking whether new updates are availablevoid
onAssetUpdateError(java.lang.String error)
Callback when there was an error downloading the assetsvoid
onAssetUpdateFinished()
Callback after finishing downloading assets
-
-
-
Method Detail
-
onAssetUpdateAvailable
void onAssetUpdateAvailable(boolean updateAvailable)
Callback for checking whether new updates are available- Parameters:
updateAvailable
- Returns status whether updates are available
-
onAssetDownloadProgress
void onAssetDownloadProgress(java.lang.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
void onAssetUpdateError(java.lang.String error)
Callback when there was an error downloading the assets- Parameters:
error
- Error message
-
onAssetUpdateFinished
void onAssetUpdateFinished()
Callback after finishing downloading assets
-
-