Interface ITextTrack
- Namespace
- AngleSharp.Media.Dom
- Assembly
- AngleSharp.dll
Information about a text track.
[DomName("TextTrack")]
public interface ITextTrack : IEventTarget
- Inherited Members
- Extension Methods
Properties
ActiveCues
Gets the active text cues.
[DomName("activeCues")]
ITextTrackCueList ActiveCues { get; }
Property Value
Cues
Gets the available text cues.
[DomName("cues")]
ITextTrackCueList Cues { get; }
Property Value
Kind
Gets the text track kind of the text track.
[DomName("kind")]
string? Kind { get; }
Property Value
Label
Gets the text track label of the text track.
[DomName("label")]
string? Label { get; }
Property Value
Language
Gets the text track language of the text track.
[DomName("language")]
string? Language { get; }
Property Value
Mode
Gets or sets the mode of the text track.
[DomName("mode")]
TextTrackMode Mode { get; set; }
Property Value
Methods
Add(ITextTrackCue)
Adds another cue to the text track.
[DomName("addCue")]
void Add(ITextTrackCue cue)
Parameters
cue
ITextTrackCueThe cue to add.
Remove(ITextTrackCue)
Removes a cue from the text track.
[DomName("removeCue")]
void Remove(ITextTrackCue cue)
Parameters
cue
ITextTrackCueThe cue that should be removed.
Events
CueChanged
Event triggered after a cue has changed.
[DomName("oncuechange")]
event DomEventHandler CueChanged