MatroskaEdition

data class MatroskaEdition(val uid: Long?, val isDefault: Boolean, val isHidden: Boolean, val isOrdered: Boolean, val names: List<MatroskaName>, val chapters: List<MatroskaChapter>)

One EditionEntry: a set of chapters, such as one cut of a film.

Constructors

Link copied to clipboard
constructor(uid: Long?, isDefault: Boolean, isHidden: Boolean, isOrdered: Boolean, names: List<MatroskaName>, chapters: List<MatroskaChapter>)

Properties

Link copied to clipboard

The top-level chapters, in stored order; each holds its own nested ones.

Link copied to clipboard

EditionFlagDefault.

Link copied to clipboard

EditionFlagHidden: a player does not offer this edition to choose.

Link copied to clipboard

EditionFlagOrdered: the chapters are a timeline to play in their stored order rather than points to jump to, and a chapter's link to another segment is played. In an edition that is not ordered such a link is only information.

Link copied to clipboard

The edition's names, one for each EditionDisplay.

Link copied to clipboard

The chapters an ordered edition plays, in the order it plays them: the lowest-level enabled chapters, depth first in stored order, as RFC 9559 section 20.2.4 describes. A disabled chapter is skipped along with everything nested in it, and a hidden one still plays.

Link copied to clipboard
val uid: Long?

The EditionUID, or null when the file states none.