Table of Contents

Class TextTrackCueList

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The TextTrackCueList interface of the WebVTT API is an array-like object that represents a dynamically updating list of TextTrackCue objects.

[Value("TextTrackCueList")]
public class TextTrackCueList
Inheritance
TextTrackCueList
Inherited Members

Remarks

An instance of this type is obtained from 'TextTrack.Cues' in order to get all the cues in the TextTrack object.
This interface has no constructor.

See also on MDN

Constructors

TextTrackCueList()

public TextTrackCueList()

Properties

Length

The length read-only property of the TextTrackCueList interface returns the number of cues in the list.

[Value("length")]
public ulong Length { get; }

Property Value

ulong

An unsigned long which is the number of cues in the list.

Remarks

Methods

GetCueById(string)

The getCueById() method of the TextTrackCueList interface returns the first VTTCue in the list represented by the TextTrackCueList object whose identifier matches the value of id.

[Value("getCueById")]
public TextTrackCue? GetCueById(string id)

Parameters

id string

Returns

TextTrackCue

A VTTCue object.

Remarks