Instance Property

resourceLoader

The resource loader associated with the asset.

Declaration

var resourceLoader: AVAssetResourceLoader { get }

Discussion

During loading, the resource loader object may be asked to assist in the loading of a resource. For example, a resource that requires decryption might result in the resource loader being asked 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 an appropriate response.