---
title: sampleLocation
framework: MediaExtension
role: symbol
role_heading: Instance Property
platforms: [macOS 14.0+]
path: mediaextension/mesamplelocation/samplelocation
---

# sampleLocation

The starting file offset and size in bytes of the sample.

## Declaration

```swift
var sampleLocation: AVSampleCursorStorageRange { get }
```

## See Also

### Inspecting a sample location

- [byteSource](mediaextension/mesamplelocation/bytesource.md)
