Interface IAssetDelegate

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onAssetUpdateAvailable(boolean updateAvailable) Callback for checking whether new updates are available
      abstract void onAssetDownloadProgress(String assetName, float progress) Callback which gives a progress of the asset downlaod
      abstract void onAssetUpdateError(String error) Callback when there was an error downloading the assets
      abstract void onAssetUpdateFinished() Callback after finishing downloading assets
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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 downloaded
        progress - 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