<!--
{
  "availability" : [
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVInterfaceTimelineSegment/initWithTimeRange:auxiliaryContent:marked:requiresLinearPlayback:identifier:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(cs)AVInterfaceTimelineSegment(im)initWithTimeRange:auxiliaryContent:marked:requiresLinearPlayback:identifier:"
  },
  "title" : "initWithTimeRange:auxiliaryContent:marked:requiresLinearPlayback:identifier:"
}
-->

# initWithTimeRange:auxiliaryContent:marked:requiresLinearPlayback:identifier:

Initializes a new timeline segment with the specified characteristics.

```
- (instancetype) initWithTimeRange:(CMTimeRange) timeRange auxiliaryContent:(BOOL) auxiliaryContent marked:(BOOL) marked requiresLinearPlayback:(BOOL) requiresLinearPlayback identifier:(NSString *) identifier;
```

## Parameters

`timeRange`

The time range defining the segment’s position and duration within the timeline.

`auxiliaryContent`

Whether the segment contains main or auxiliary content.

`marked`

Whether the segment should be visually highlighted in the timeline UI.

`requiresLinearPlayback`

Whether the segment must be played sequentially without seeking or skipping.

`identifier`

External identifier for tracking or analytics purposes.

---

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)