An object that mediates resource requests from a URL asset.
- iOS 6.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
You do not create resource loader objects yourself. Instead, you retrieve a resource loader from the
resourceLoader property of an
AVURLAsset object and use it to assign your custom delegate object.
The delegate you associate with this object must adopt the
AVAssetResourceLoaderDelegate protocol. For more information, see
The AVARLDelegateDemo demonstrates using this class in a streaming environment.
Accessing the Delegate
The delegate object to use when handling resource requests.
Getting the Dispatch Queue
The dispatch queue to use when handling resource requests.
A concrete subclass of
AVAsset that's used to initialize an asset from a local or remote URL.
The URL response for the loading request.
An object that encapsulates information about a resource request issued by a resource loader to renew a previously issued request.