MatroskaChapter

data class MatroskaChapter(val uid: Long, val stringUid: String?, val startNanos: Long, val endNanos: Long?, val isHidden: Boolean, val isEnabled: Boolean, val segmentUid: String?, val segmentEditionUid: Long?, val skipType: MatroskaSkipType?, val names: List<MatroskaName>, val chapters: List<MatroskaChapter>)

One ChapterAtom.

Constructors

Link copied to clipboard
constructor(uid: Long, stringUid: String?, startNanos: Long, endNanos: Long?, isHidden: Boolean, isEnabled: Boolean, segmentUid: String?, segmentEditionUid: Long?, skipType: MatroskaSkipType?, names: List<MatroskaName>, chapters: List<MatroskaChapter>)

Properties

Link copied to clipboard

The chapters nested in this one, in stored order.

Link copied to clipboard

The ChapterTimeEnd in nanoseconds, or null when the file states none. Not part of the chapter.

Link copied to clipboard

ChapterFlagEnabled: a disabled chapter's content is skipped.

Link copied to clipboard

ChapterFlagHidden: not shown to a viewer. Nested chapters carry their own flag.

Link copied to clipboard

The chapter's names, one for each ChapterDisplay.

Link copied to clipboard

The ChapterSegmentEditionUID, the edition of segmentUid this chapter plays whole, or null when it plays the range from startNanos to endNanos of that segment.

Link copied to clipboard

The ChapterSegmentUUID of the segment this chapter plays, or null when it plays this one. A link naming this segment's own UID breaks the specification and reads as null.

Link copied to clipboard

The ChapterSkipType, which says what a "skip" button may skip, or null when absent or unknown.

Link copied to clipboard

The ChapterTimeStart in nanoseconds, as the file states it. For a chapter that plays another segment it is a time in that segment.

Link copied to clipboard

The ChapterStringUID, the chapter's WebVTT cue identifier, or null.

Link copied to clipboard
val uid: Long

The ChapterUID.