API reference
API reference
Select your platform
No SDKs available
No versions available

NetworkedAssetLoader

NetworkedAssetLoader

object NetworkedAssetLoader

Properties

NameSummary
TAG
const val TAG: String

Functions

NameSummary
init
fun init(downloadDirectory: File, assetFetcher: AssetFetcher)
requestAsset
fun requestAsset(url: <Error class: unknown class>, extension: String): CompletableFuture<String>
Requests an asset from a remote source. The callback is called after the file is downloaded with a file path that ends with the given extension
Did you find this page helpful?
Thumbs up icon
Thumbs down icon