TextTrackCue class
is an abstract class which is used as the basis for the various derived cue types, such as VTTCue; you will instead work with those derived types. These cues represent strings of text presented for some duration of time during the performance of a TextTrack. The cue includes the start time (the time at which the text will be displayed) and the end time (the time at which it will be removed from the display), as well as other information.
EventTarget
TextTrackCue
- Implemented types
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- TextTrackCue()
-
factory
Properties
- endTime ↔ dynamic
-
Available on TextTrackCue, provided by the PropsTextTrackCue extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
Available on TextTrackCue, provided by the PropsTextTrackCue extension
getter/setter pair -
onenter
↔ EventHandlerNonNull<
Event> ? -
Available on TextTrackCue, provided by the PropsTextTrackCue extension
getter/setter pair -
onexit
↔ EventHandlerNonNull<
Event> ? -
Available on TextTrackCue, provided by the PropsTextTrackCue extension
getter/setter pair - pauseOnExit ↔ bool
-
Available on TextTrackCue, provided by the PropsTextTrackCue extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime ↔ double
-
Available on TextTrackCue, provided by the PropsTextTrackCue extension
getter/setter pair - track → TextTrack?
-
Available on TextTrackCue, provided by the PropsTextTrackCue extension
no setter
Methods
-
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
-
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