<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetResourceLoadingContentInformationRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAssetResourceLoadingContentInformationRequest"
  },
  "title" : "AVAssetResourceLoadingContentInformationRequest"
}
-->

# AVAssetResourceLoadingContentInformationRequest

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

```
class AVAssetResourceLoadingContentInformationRequest
```

## Overview

When a resource loading delegate, which must implement the [`AVAssetResourceLoaderDelegate`](/documentation/AVFoundation/AVAssetResourceLoaderDelegate) protocol, receives an instance of [`AVAssetResourceLoadingRequest`](/documentation/AVFoundation/AVAssetResourceLoadingRequest) when the [`resourceLoader(_:shouldWaitForLoadingOfRequestedResource:)`](/documentation/AVFoundation/AVAssetResourceLoaderDelegate/resourceLoader(_:shouldWaitForLoadingOfRequestedResource:)) is invoked and accepts responsibility for loading the resource, it must check whether the [`contentInformationRequest`](/documentation/AVFoundation/AVAssetResourceLoadingRequest/contentInformationRequest) property of the [`AVAssetResourceLoadingRequest`](/documentation/AVFoundation/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`](/documentation/AVFoundation/AVAssetResourceLoadingRequest) method [`finishLoading()`](/documentation/AVFoundation/AVAssetResourceLoadingRequest/finishLoading()).

When [`finishLoading()`](/documentation/AVFoundation/AVAssetResourceLoadingRequest/finishLoading()) is invoked, the values of the properties of its [`contentInformationRequest`](/documentation/AVFoundation/AVAssetResourceLoadingRequest/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`](/documentation/AVFoundation/AVURLAsset) and [`contentType`](/documentation/AVFoundation/AVAssetResourceLoadingContentInformationRequest/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`](/documentation/AVFoundation/AVAssetResourceLoadingContentInformationRequest/allowedContentTypes)

The types of data that are accepted as a valid response for the requested resource.

[`contentType`](/documentation/AVFoundation/AVAssetResourceLoadingContentInformationRequest/contentType)

The UTI that specifies the type of data contained by the requested resource.

[`contentLength`](/documentation/AVFoundation/AVAssetResourceLoadingContentInformationRequest/contentLength)

The length, in bytes, of the requested resource.

[`isByteRangeAccessSupported`](/documentation/AVFoundation/AVAssetResourceLoadingContentInformationRequest/isByteRangeAccessSupported)

A Boolean value that indicates whether random access to arbitrary ranges of bytes of the resource is supported.

[`renewalDate`](/documentation/AVFoundation/AVAssetResourceLoadingContentInformationRequest/renewalDate)

The date at which a new resource loading request will be issued for resources that expire, if the media system still requires it.

[`isEntireLengthAvailableOnDemand`](/documentation/AVFoundation/AVAssetResourceLoadingContentInformationRequest/isEntireLengthAvailableOnDemand)

A Boolean value that indicates whether asset data loading can expect data immediately.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)