---
title: MESampleLocation
framework: MediaExtension
role: symbol
role_heading: Class
platforms: [macOS 14.0+]
path: mediaextension/mesamplelocation
---

# MESampleLocation

An object that provides information about the sample location with the media.

## Declaration

```swift
class MESampleLocation
```

## Topics

### Creating a sample location

- [init(byteSource:sampleLocation:)](mediaextension/mesamplelocation/init(bytesource:samplelocation:).md)

### Inspecting a sample location

- [byteSource](mediaextension/mesamplelocation/bytesource.md)
- [sampleLocation](mediaextension/mesamplelocation/samplelocation.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)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Sample cursors

- [MESampleCursor](mediaextension/mesamplecursor.md)
- [MESampleCursorChunk](mediaextension/mesamplecursorchunk.md)
- [MEEstimatedSampleLocation](mediaextension/meestimatedsamplelocation.md)
- [MEHEVCDependencyInfo](mediaextension/mehevcdependencyinfo.md)
