<!--
{
  "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/AVAssetResourceLoadingDataRequest/requestedOffset",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAssetResourceLoadingDataRequest(py)requestedOffset"
  },
  "title" : "requestedOffset"
}
-->

# requestedOffset

The position within the resource of the first byte requested.

```
var requestedOffset: Int64 { get }
```

## Discussion

When all of the requested bytes that can be provided have been loaded—including the possible [`contentInformationRequest`](/documentation/AVFoundation/AVAssetResourceLoadingRequest/contentInformationRequest) data in the [`AVAssetResourceLoadingRequest`](/documentation/AVFoundation/AVAssetResourceLoadingRequest) instance that contains the receiver—the delegate should respond by invoking [`finishLoading()`](/documentation/AVFoundation/AVAssetResourceLoadingRequest/finishLoading()).

If the `requestedOffset` value is beyond the content length of the resource, the [`AVAssetResourceLoadingRequest`](/documentation/AVFoundation/AVAssetResourceLoadingRequest) instance is sent a [`finishLoading()`](/documentation/AVFoundation/AVAssetResourceLoadingRequest/finishLoading()) message without any prior invocations of [`respond(with:)`](/documentation/AVFoundation/AVAssetResourceLoadingDataRequest/respond(with:)).

---

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)