TextTrack class
The interface—part of the API for handling WebVTT (text tracks
on media presentations)—describes and controls the text track
associated with a particular <track>
element.
EventTarget
TextTrack
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- TextTrack()
-
factory
Properties
- activeCues → TextTrackCueList?
-
Available on TextTrack, provided by the PropsTextTrack extension
no setter - cues → TextTrackCueList?
-
Available on TextTrack, provided by the PropsTextTrack extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Available on TextTrack, provided by the PropsTextTrack extension
no setter - inBandMetadataTrackDispatchType → String
-
Available on TextTrack, provided by the PropsTextTrack extension
no setter - kind → TextTrackKind
-
Available on TextTrack, provided by the PropsTextTrack extension
no setter - label → String
-
Available on TextTrack, provided by the PropsTextTrack extension
no setter - language → String
-
Available on TextTrack, provided by the PropsTextTrack extension
no setter - mode ↔ TextTrackMode
-
Available on TextTrack, provided by the PropsTextTrack extension
getter/setter pair -
oncuechange
↔ EventHandlerNonNull<
Event> ? -
Available on TextTrack, provided by the PropsTextTrack extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceBuffer → SourceBuffer?
-
Available on TextTrack, provided by the PropsTextTrack extension
no setter
Methods
-
addCue(
TextTrackCue cue) → void -
Available on TextTrack, provided by the PropsTextTrack extension
-
addEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
dispatchEvent(
Event event) → bool -
Available on EventTarget, provided by the PropsEventTarget extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeCue(
TextTrackCue cue) → void -
Available on TextTrack, provided by the PropsTextTrack extension
-
removeEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited