TextTrackCue Class
https://html.spec.whatwg.org/multipage/media.html#texttrackcue: the unit of time-sensitive data of a text track. The cues are VttCue objects.
public abstract class TextTrackCue : EventTarget- Inheritance
EventTargetTextTrackCue
Properties
| Name | Description |
|---|---|
| EndTime | Gets or sets the end time of the cue, in seconds (https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-endtime): positive infinity for an unbounded cue. |
| Id | Gets or sets the identifier of the cue (https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-id). |
| OnEnter | Gets or sets the event handler of the enter event. |
| OnExit | Gets or sets the event handler of the exit event. |
| PauseOnExit | Gets or sets a value indicating whether the playback of the media resource pauses when the end of the cue is reached (https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-pauseonexit). |
| StartTime | Gets or sets the start time of the cue, in seconds (https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-starttime). |
| Track | Gets the text track the cue belongs to, or null (https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-track). |
EndTime
TextTracks.csGets or sets the end time of the cue, in seconds (https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-endtime): positive infinity for an unbounded cue.
public double EndTime { get; set; }Gets or sets the identifier of the cue (https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-id).
public string Id { get; set; }OnEnter
TextTracks.csGets or sets the event handler of the enter event.
OnExit
TextTracks.csGets or sets the event handler of the exit event.
PauseOnExit
TextTracks.csGets or sets a value indicating whether the playback of the media resource pauses when the end of the cue is reached (https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-pauseonexit).
public bool PauseOnExit { get; set; }Property value
See also
StartTime
TextTracks.csGets or sets the start time of the cue, in seconds (https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-starttime).
public double StartTime { get; set; }Property value
See also
Track
TextTracks.csGets the text track the cue belongs to, or null (https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-track).
public TextTrack? Track { get; }