Protocol

AVAssetResourceLoaderDelegate

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

Declaration

@protocol AVAssetResourceLoaderDelegate

Overview

A class should adopt this protocol when associated with the asset’s resource loader—that is, an instance of the AVAssetResourceLoader class. The resource loader works with your delegate to process the request.

Topics

Processing Resource Requests

- resourceLoader:shouldWaitForLoadingOfRequestedResource:

Asks the delegate if it wants to load the requested resource.

- resourceLoader:shouldWaitForRenewalOfRequestedResource:

Tells the delegate when assistance is required of the application to renew a resource.

Content Key Types

The types of custom URLs that should be handled as content keys.

- resourceLoader:didCancelLoadingRequest:

Informs the delegate that a prior loading request has been cancelled.

Processing Authentication Challenges

- resourceLoader:didCancelAuthenticationChallenge:

Informs the delegate that a prior authentication challenge has been cancelled.

- resourceLoader:shouldWaitForResponseToAuthenticationChallenge:

Tells the delegate that assistance is required of the application to respond to an authentication challenge.

Relationships

Inherits From

See Also

Accessing the Delegate

- setDelegate:queue:

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

delegate

The delegate object to use when handling resource requests.