Roblox API Reference

ContentProvider On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotCreatable, Service, NotReplicated]

Inherits (1)

Member index (19)

Type Member History
string BaseUrl
int RequestQueueSize
int CalculateNumTrianglesInMesh (string meshId) 396
int CalculateNumTrianglesInMeshSync (string meshId) 403
AssetFetchStatus GetAssetFetchStatus (Content contentId) 564
RBXScriptSignal GetAssetFetchStatusChangedSignal (Content contentId) 564
Array GetDetailedFailedRequests () 506
Array GetFailedRequests () 398
Array ListEncryptedAssets () 446
null Preload (Content contentId) 71 307 573
null PreloadAsync (Array contentIdList, Function callbackFunction = nil) 200 386 573
null RegisterDefaultEncryptionKey (string encryptionKey) 446 573
null RegisterDefaultSessionKey (string sessionKey) 452 573
null RegisterEncryptedAsset (Content assetId, string encryptionKey) 446 573
null RegisterSessionEncryptedAsset (Content contentId, string sessionKey) 452 573
null SetBaseUrl (string url) 573
null UnregisterDefaultEncryptionKey () 446 573
null UnregisterEncryptedAsset (Content assetId) 446 573
AssetFetchFailed (Content assetId) 453 452 454
57 members inherited from Instance

Removed member index (6)

Type Member History
Array GetFailedUrls () 277 311
Array GetRequestQueue () 66
Array GetRequestedUrls () 66
void SetAssetUrl (string url) 311
void SetCacheSize (int count) 311
void SetThreadPool (int count) 311

History

Members

AssetFetchFailed On DevHub

Name Type Default
assetId Content none

History

BaseUrl On DevHub

This property is read-only. Its value can be read, but it cannot be modified.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [ReadOnly, NotReplicated]

CalculateNumTrianglesInMesh On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
meshId string none

History

Tags: [Yields]

CalculateNumTrianglesInMeshSync On DevHub

Name Type Default
meshId string none

History

GetAssetFetchStatus On DevHub

Name Type Default
contentId Content none

History

GetAssetFetchStatusChangedSignal On DevHub

Name Type Default
contentId Content none

History

GetDetailedFailedRequests On DevHub

Name Type Default
No parameters.

History

GetFailedRequests On DevHub

Name Type Default
No parameters.

History

ListEncryptedAssets On DevHub

Name Type Default
No parameters.

History

Preload On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
contentId Content none

History

Tags: [Deprecated]

PreloadAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
contentIdList Array none
callbackFunction Function nil

History

Tags: [Yields]

RegisterDefaultEncryptionKey On DevHub

Name Type Default
encryptionKey string none

History

RegisterDefaultSessionKey On DevHub

Name Type Default
sessionKey string none

History

RegisterEncryptedAsset On DevHub

Name Type Default
assetId Content none
encryptionKey string none

History

RegisterSessionEncryptedAsset On DevHub

Name Type Default
contentId Content none
sessionKey string none

History

RequestQueueSize On DevHub

This property is read-only. Its value can be read, but it cannot be modified.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [ReadOnly, NotReplicated]

SetBaseUrl On DevHub

Name Type Default
url string none

History

UnregisterDefaultEncryptionKey On DevHub

Name Type Default
No parameters.

History

UnregisterEncryptedAsset On DevHub

Name Type Default
assetId Content none

History

Removed members

GetFailedUrls

Name Type Default
No parameters.

History

GetRequestQueue

Name Type Default
No parameters.

History

GetRequestedUrls

Name Type Default
No parameters.

History

SetAssetUrl

Name Type Default
url string none

History

SetCacheSize

Name Type Default
count int none

History

SetThreadPool

Name Type Default
count int none

History

Relevant enums (1)