Instance Property

delegate

The delegate object to use when handling resource requests.

Declaration

weak var delegate: AVAssetResourceLoaderDelegate? { get }

Discussion

The delegate object is responsible for indicating whether or not it is able to handle a resource request. And for those requests it does handle, the delegate object must initiate the loading of the requested resource.

See Also

Accessing the Delegate

func setDelegate(AVAssetResourceLoaderDelegate?, queue: DispatchQueue?)

Sets the delegate and dispatch queue to use with the resource loader.

protocol AVAssetResourceLoaderDelegate

Methods you can implement to handle resource loading requests coming from a URL asset.