The concrete TrackState subtype.
The concrete TrackEvent subtype.
Unique identifier (UUID).
Human-readable label for this track.
Current load lifecycle stage (idle → loading → success / failure).
Discriminator indicating whether this entity is a main media or a track.
Observable stream of track lifecycle events.
Directed relations to other MediaEntity instances (e.g. RelationType.PART_OF, RelationType.DERIVED_FROM).
The data source backing this track, if any.
The resolved file format type of the source.
Serializable state snapshot.
Returns the timed items sorted by their start time.
The kind of track (VIDEO, AUDIO, TEXT_TRACK, MARKER_TRACK, etc.).
Add an inter-track relation. Duplicates are silently ignored.
Check whether this track already has the given relation.
Transition the load stage to "failure" and emit a TrackEventType.TRACK_LOAD_ERROR event.
Transition the load stage to "loading" and emit a TrackEventType.TRACK_LOADING event.
Transition the load stage to "success" and emit a TrackEventType.TRACK_LOADED event.
Partially update mutable track attributes and emit a TrackEventType.TRACK_UPDATED event.
A track associated with a MainMedia (video, audio, text, markers, thumbnails, etc.).
Tracks carry their own source, load lifecycle, and inter-track relations. Extends MediaEntity with
mediaTypealways set to MediaEntityType.TRACK.