<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVPlaybackUserInterfaceTimelineSegment/init(timeRange:segmentType:marked:requiresLinearPlayback:identifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlaybackUserInterfaceTimelineSegment(im)initWithTimeRange:segmentType:marked:requiresLinearPlayback:identifier:"
  },
  "title" : "init(timeRange:segmentType:marked:requiresLinearPlayback:identifier:)"
}
-->

# init(timeRange:segmentType:marked:requiresLinearPlayback:identifier:)

Initializes a new timeline segment with the specified characteristics.

```
init(timeRange: CMTimeRange, segmentType: AVPlaybackUserInterfaceTimelineSegmentType, marked: Bool, requiresLinearPlayback: Bool, identifier: String?)
```

## Parameters

`timeRange`

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

`segmentType`

The type of content this segment represents.

`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)