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

Type Member History
string BaseUrl
int RequestQueueSize
int CalculateNumTrianglesInMesh (string meshId) 396
int CalculateNumTrianglesInMeshSync (string meshId) 403
Array GetDetailedFailedRequests () 506
Array GetFailedRequests () 398
Array ListEncryptedAssets () 446
void Preload (Content contentId) 71 307
void PreloadAsync (Array contentIdList, Function callbackFunction = nil) 200 386
void RegisterDefaultEncryptionKey (string encryptionKey) 446
void RegisterDefaultSessionKey (string sessionKey) 452
void RegisterEncryptedAsset (Content assetId, string encryptionKey) 446
void RegisterSessionEncryptedAsset (Content contentId, string sessionKey) 452
void SetBaseUrl (string url)
void UnregisterDefaultEncryptionKey () 446
void UnregisterEncryptedAsset (Content assetId) 446
AssetFetchFailed (Content assetId) 453 452 454
51 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

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

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