---
title: isEntireLengthAvailableOnDemand
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avassetresourceloadingcontentinformationrequest/isentirelengthavailableondemand
---

# isEntireLengthAvailableOnDemand

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

## Declaration

```swift
var isEntireLengthAvailableOnDemand: Bool { get set }
```

## Discussion

Discussion Before you finish loading an AVAssetResourceLoadingRequest, if its contentInformationRequest isn’t nil, set the value to true to indicate that all asset data is available. This may be true because the data is fully cached, or because the custom URL scheme ultimately refers to files on local storage, which allows for significant data flow optimizations. For backward compatibility, this property defaults to false.

## See Also

### 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)
