Reference API Roblox

Engine API

Website

Related

Reference API Roblox

AssetFetchStatus

Describes the download state of an asset requested through ContentProvider.

Items 5

HistoryNameValueDescription
386Success0

The asset loaded successfully.

386Failure1

The asset failed to load successfully. Subsequent attempts are likely to fail; there may be something wrong with the Content string.

564None2

The engine has no information about this asset. The engine never tried to load it.

564Loading3

The engine is in the middle of trying to load this asset.

564TimedOut4

The engine tried to load this asset but timed out. Future attempts to load may succeed.

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().

History 6

Settings