Contents

resourceLoader

The resource loader for the asset.

Declaration

var resourceLoader: AVAssetResourceLoader { get }

Discussion

During loading, the system may ask the resource loader to assist loading the resource. For example, a resource that requires decryption may require the resource loader to provide the appropriate decryption keys. You can assign a delegate object to the resource loader object and use your delegate to intercept these requests and provide appropriate responses.

See Also

Assisting with resource loading