ChapterMarker

public struct ChapterMarker : XMLRepresentable

An annotation that applies to a range of time and indicates a chapter.

  • The start time of the chapter marker.

    Declaration

    Swift

    public var start: CMTime
  • The duration of the chapter marker.

    Declaration

    Swift

    public var duration: CMTime?
  • The value of the chapter marker.

    Declaration

    Swift

    public var value: String
  • A note associated with the chapter marker.

    Declaration

    Swift

    public var note: String?
  • The poster offset of the chapter marker.

    Declaration

    Swift

    public var posterOffset: CMTime?
  • Initializes a new chapter marker.

    Declaration

    Swift

    public init(start: CMTime, duration: CMTime? = nil, value: String, posterOffset: CMTime? = nil)

    Parameters

    start

    The start time of the chapter marker.

    duration

    The duration of the chapter marker.

    value

    The value of the chapter marker.

    posterOffset

    The poster offset of the chapter marker.