Instance Method

resourceLoader:didCancelLoadingRequest:

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

Declaration

- (void)resourceLoader:(AVAssetResourceLoader *)resourceLoader didCancelLoadingRequest:(AVAssetResourceLoadingRequest *)loadingRequest;

Parameters

resourceLoader

The resource loader.

loadingRequest

The loading request that has been cancelled.

Discussion

Previously issued loading requests can be cancelled when data from the resource is no longer required or when a loading request is superseded by new requests for data from the same resource.

For example, if to complete a seek operation it becomes necessary to load a range of bytes that's different from a range previously requested, the prior request may be cancelled while the delegate is still handling it.

See Also

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software