TextTrack class abstract

Represents a text track of a media resource.

Inheritance
Implementers

Constructors

TextTrack(String? _id, int _uid, String? _label, String? _language, String? _kind, String? _inBandMetadataTrackDispatchType, TextTrackReadyState _readyState, TextTrackType _type, Cues _cues, Cues _activeCues, String? _source, bool _isForced)

Properties

activeCues Cues
The list of active cues of the track.
no setter
cues Cues
The list of cues of the track.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String?
The identifier of the media track.
no setterinherited
inBandMetadataTrackDispatchType String?
The in-band metadata track dispatch type of the text track.
no setter
isForced bool
Indicates whether the track contains Forced Narrative cues. This may only be true for subtitle tracks where
no setter
kind String?
The kind of the media track, represented by a value from the following list:
no setterinherited
label String?
The label of the media track.
no setterinherited
language String?
The language of the media track.
no setterinherited
readyState TextTrackReadyState
The ready state of the text track.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
The source of the text track.
no setter
type TextTrackType
The content type of the text track.
no setter
uid int
A unique identifier of the media track. Remarks:
no setterinherited

Methods

addEventListener(String eventType, EventListener<Event> listener) → void
inherited
getMode() TextTrackMode
The mode of the text track, represented by a value from the following list:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventListener(String eventType, EventListener<Event> listener) → void
inherited
setMode(TextTrackMode mode) → void
Sets mode of the text track, represented by a value from the following list:
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited