Enum
AssetFetchStatus
Describes the download state of an asset requested through
ContentProvider.
Describes the download state of an asset requested through
ContentProvider. Every content ID has exactly one status at any given
time, transitioning from AssetFetchStatus.None (never requested) to
AssetFetchStatus.Loading (fetch in progress) and finally to a terminal
state of AssetFetchStatus.Success, AssetFetchStatus.Failure, or
AssetFetchStatus.TimedOut.
Query the current status with ContentProvider:GetAssetFetchStatus()
and listen for transitions with
ContentProvider:GetAssetFetchStatusChangedSignal().
Items 5#
| Name | Value | Summary |
|---|---|---|
Success | 0 | The asset loaded successfully. |
Failure | 1 | The asset failed to load successfully. Subsequent attempts are likely to
fail; there may be something wrong with the Content
string. |
None | 2 | The engine has no information about this asset. The engine never tried to load it. |
Loading | 3 | The engine is in the middle of trying to load this asset. |
TimedOut | 4 | The engine tried to load this asset but timed out. Future attempts to load may succeed. |