<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaExtension",
  "identifier" : "/documentation/MediaExtension/MEEstimatedSampleLocation",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MediaExtension"
    ],
    "preciseIdentifier" : "c:objc(cs)MEEstimatedSampleLocation"
  },
  "title" : "MEEstimatedSampleLocation"
}
-->

# MEEstimatedSampleLocation

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

```
class MEEstimatedSampleLocation
```

## Topics

### Creating an estimated sample location

[`-  initWithByteSource:estimatedSampleLocation:refinementDataLocation:`](/documentation/MediaExtension/MEEstimatedSampleLocation/init(byteSource:estimatedSampleLocation:refinementDataLocation:))

Creates an estimated sample location object with the byte source, sample location, and data location that you specify.

### Inspecting an estimated sample location

[`byteSource`](/documentation/MediaExtension/MEEstimatedSampleLocation/byteSource)

The byte source to use to read the data for the sample.

[`estimatedSampleLocation`](/documentation/MediaExtension/MEEstimatedSampleLocation/estimatedSampleLocation)

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

[`refinementDataLocation`](/documentation/MediaExtension/MEEstimatedSampleLocation/refinementDataLocation)

The starting file offset and size in bytes of the data necessary to provide an accurate sample location.

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)