Table of Contents

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

ITextTrackCueList

Cues

Gets the available text cues.

[DomName("cues")]
ITextTrackCueList Cues { get; }

Property Value

ITextTrackCueList

Kind

Gets the text track kind of the text track.

[DomName("kind")]
string? Kind { get; }

Property Value

string

Label

Gets the text track label of the text track.

[DomName("label")]
string? Label { get; }

Property Value

string

Language

Gets the text track language of the text track.

[DomName("language")]
string? Language { get; }

Property Value

string

Mode

Gets or sets the mode of the text track.

[DomName("mode")]
TextTrackMode Mode { get; set; }

Property Value

TextTrackMode

Methods

Add(ITextTrackCue)

Adds another cue to the text track.

[DomName("addCue")]
void Add(ITextTrackCue cue)

Parameters

cue ITextTrackCue

The cue to add.

Remove(ITextTrackCue)

Removes a cue from the text track.

[DomName("removeCue")]
void Remove(ITextTrackCue cue)

Parameters

cue ITextTrackCue

The cue that should be removed.

Events

CueChanged

Event triggered after a cue has changed.

[DomName("oncuechange")]
event DomEventHandler CueChanged

Event Type

DomEventHandler