Contents

init(timeRange:auxiliaryContent:marked:requiresLinearPlayback:identifier:)

Initializes a new timeline segment with the specified characteristics.

Declaration

init(timeRange: CMTimeRange, auxiliaryContent: Bool, marked: Bool, requiresLinearPlayback: Bool, identifier: String?)

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.