TextTrackCueList Class

https://html.spec.whatwg.org/multipage/media.html#texttrackcuelist

Implements

Properties

NameDescription
CountGets the number of cues in the list.
LengthGets the number of cues in the list.

Gets the number of cues in the list.

public int Count { get; }

Property value

int

Gets the number of cues in the list.

public uint Length { get; }

Indexers

NameDescription
this[int]Gets the cue at the given index.
this[uint]Gets the cue at the given index (the cues are in text track cue order), or null when the index is out of range.

ItemAt overloads

this[int]

TextTracks.cs

Gets the cue at the given index.

public TextTrackCue this[int index] { get; }
Parameters
index int
Property value

TextTrackCue

this[uint]

TextTracks.cs

Gets the cue at the given index (the cues are in text track cue order), or null when the index is out of range.

public TextTrackCue? this[uint index] { get; }

Methods

NameDescription
GetCueById(string)Returns the first cue of the list (in text track cue order) with the given identifier, or null when there is none or when the identifier is the empty string.
GetEnumerator()Returns an enumerator that iterates through the collection.
System.Collections.Generic.IReadOnlyList<Meziantou.Framework.WebPlatform.Dom.TextTrackCue>.get_Item(int)
System.Collections.IEnumerable.GetEnumerator()

GetCueById(string)

TextTracks.cs

Returns the first cue of the list (in text track cue order) with the given identifier, or null when there is none or when the identifier is the empty string.

public TextTrackCue? GetCueById(string id)

GetEnumerator()

TextTracks.cs

Returns an enumerator that iterates through the collection.

public IEnumerator<TextTrackCue> GetEnumerator()

Returns

IEnumerator<TextTrackCue> An enumerator that can be used to iterate through the collection.

System.Collections.Generic.IReadOnlyList<Meziantou.Framework.WebPlatform.Dom.TextTrackCue>.get_Item(int)

Parameters

index int

Returns

TextTrackCue

No documentation is available.

System.Collections.IEnumerable.GetEnumerator()

TextTracks.cs
IEnumerator IEnumerable.GetEnumerator()

No documentation is available.