---
title: AVAssetResourceLoadingContentInformationRequest
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avassetresourceloadingcontentinformationrequest
---

# AVAssetResourceLoadingContentInformationRequest

A query for retrieving essential information about a resource that an asset resource-loading request references.

## Declaration

```swift
class AVAssetResourceLoadingContentInformationRequest
```

## Overview

Overview When a resource loading delegate, which must implement the AVAssetResourceLoaderDelegate protocol, receives an instance of AVAssetResourceLoadingRequest when the resourceLoader(_:shouldWaitForLoadingOfRequestedResource:) is invoked and accepts responsibility for loading the resource, it must check whether the contentInformationRequest property of the AVAssetResourceLoadingRequest is not nil. Whenever the value is not nil, the request includes a query for the information that AVAssetResourceLoadingContentInformationRequest encapsulates. In response to such queries, the resource loading delegate should set the values of the content information request’s properties appropriately before invoking the AVAssetResourceLoadingRequest method finishLoading(). When finishLoading() is invoked, the values of the properties of its contentInformationRequest property will, in part, determine how the requested resource is processed. For example, if the requested resource’s URL is the URL of an AVURLAsset and contentType is set by the resource loading delegate to a value that the underlying media system doesn’t recognize as a supported media file type, operations on the AVURLAsset, such as playback, are likely to fail.

## Topics

### Configuring content information

- [allowedContentTypes](avfoundation/avassetresourceloadingcontentinformationrequest/allowedcontenttypes.md)
- [contentType](avfoundation/avassetresourceloadingcontentinformationrequest/contenttype.md)
- [contentLength](avfoundation/avassetresourceloadingcontentinformationrequest/contentlength.md)
- [isByteRangeAccessSupported](avfoundation/avassetresourceloadingcontentinformationrequest/isbyterangeaccesssupported.md)
- [renewalDate](avfoundation/avassetresourceloadingcontentinformationrequest/renewaldate.md)
- [isEntireLengthAvailableOnDemand](avfoundation/avassetresourceloadingcontentinformationrequest/isentirelengthavailableondemand.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.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)
- [AVAssetResourceLoadingRequest](avfoundation/avassetresourceloadingrequest.md)
- [AVAssetResourceRenewalRequest](avfoundation/avassetresourcerenewalrequest.md)
- [AVAssetResourceLoadingRequestor](avfoundation/avassetresourceloadingrequestor.md)
- [AVAssetResourceLoadingDataRequest](avfoundation/avassetresourceloadingdatarequest.md)
