load Resource
open fun loadResource(@NonNull description: ResourceDescription, @NonNull options: ResourceLoadOptions, @NonNull progressCallback: ResourceLoadProgressCallback, @NonNull resultCallback: ResourceLoadResultCallback): Cancelable
WARNING: This API is not intended for public usage. It can be deleted or changed without any notice. Retrieve a resource from the store. If the requested resource is not available and the supplied option permit, a download will be queued. Critical requests are queued for execution before non-critical requests. If the downloaded data causes the disk quota to be exceeded, a quota enforcement operation is scheduled.
Return
Returns a Cancelable object to cancel the load request
Parameters
description
Description of the resource to be loaded
options
Control whether network requests are made, the priority of the request, etc.
progress Callback
Called periodically to notify of download progress
result Callback
Called once the data is available or the request failed to complete