---
title: AVAssetResourceLoadingRequest
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avassetresourceloadingrequest
---

# AVAssetResourceLoadingRequest

An object that encapsulates information about a resource request from a resource loader object.

## Declaration

```swift
class AVAssetResourceLoadingRequest
```

## Overview

Overview When an AVURLAsset object needs help loading a resource, it asks its AVAssetResourceLoader object to assist. The resource loader encapsulates the request information by creating an instance of this object, which it then hands to its delegate object for processing. The delegate uses the information in this object to perform the request and report on the success or failure of the operation.

## Topics

### Accessing the request data

- [request](avfoundation/avassetresourceloadingrequest/request.md)
- [requestor](avfoundation/avassetresourceloadingrequest/requestor.md)
- [contentInformationRequest](avfoundation/avassetresourceloadingrequest/contentinformationrequest.md)
- [dataRequest](avfoundation/avassetresourceloadingrequest/datarequest.md)
- [redirect](avfoundation/avassetresourceloadingrequest/redirect.md)
- [streamingContentKeyRequestData(forApp:contentIdentifier:options:)](avfoundation/avassetresourceloadingrequest/streamingcontentkeyrequestdata(forapp:contentidentifier:options:).md)
- [persistentContentKey(fromKeyVendorResponse:options:)](avfoundation/avassetresourceloadingrequest/persistentcontentkey(fromkeyvendorresponse:options:).md)
- [AVAssetResourceLoadingRequestStreamingContentKeyRequestRequiresPersistentKey](avfoundation/avassetresourceloadingrequeststreamingcontentkeyrequestrequirespersistentkey.md)

### Reporting the result of the request

- [response](avfoundation/avassetresourceloadingrequest/response.md)
- [finishLoading()](avfoundation/avassetresourceloadingrequest/finishloading().md)
- [isCancelled](avfoundation/avassetresourceloadingrequest/iscancelled.md)
- [finishLoading(with:)](avfoundation/avassetresourceloadingrequest/finishloading(with:).md)
- [isFinished](avfoundation/avassetresourceloadingrequest/isfinished.md)
- [finishLoading(with:data:redirect:)](avfoundation/avassetresourceloadingrequest/finishloading(with:data:redirect:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [AVAssetResourceRenewalRequest](avfoundation/avassetresourcerenewalrequest.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Resource loading

- [AVAssetResourceLoader](avfoundation/avassetresourceloader.md)
- [AVAssetResourceLoaderDelegate](avfoundation/avassetresourceloaderdelegate.md)
- [AVAssetResourceRenewalRequest](avfoundation/avassetresourcerenewalrequest.md)
- [AVAssetResourceLoadingRequestor](avfoundation/avassetresourceloadingrequestor.md)
- [AVAssetResourceLoadingDataRequest](avfoundation/avassetresourceloadingdatarequest.md)
- [AVAssetResourceLoadingContentInformationRequest](avfoundation/avassetresourceloadingcontentinformationrequest.md)
