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
startThe start time of the chapter marker.
durationThe duration of the chapter marker.
valueThe value of the chapter marker.
posterOffsetThe poster offset of the chapter marker.
ChapterMarker Structure Reference