AssetFetchStatus¶
Not yet Enum
Describes the download state of an asset requested through ContentProvider.
Not implemented in Nova
This enum is missing from Nova. Scripts that reference it will fail.
Description¶
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¶
| Item | Value | Status | Notes |
|---|---|---|---|
Success |
0 | Not yet | The asset loaded successfully. |
Failure |
1 | Not yet | The asset failed to load successfully. Subsequent attempts are likely to fail; there may be something wrong with the Content string. |
None |
2 | Not yet | The engine has no information about this asset. The engine never tried to load it. |
Loading |
3 | Not yet | The engine is in the middle of trying to load this asset. |
TimedOut |
4 | Not yet | The engine tried to load this asset but timed out. Future attempts to load may succeed. |
Roblox reference: AssetFetchStatus