TextTrackList

Overview

The TextTrackList interface is used to represent a list of the text tracks defined by the <track> element, with each track represented by a separate textTrack object in the list.

Location

Properties


length

 

property length: Int32 read;

 

Int32 length { get; }

 

var length: Int32 { get{} }

 

Int32 length { __get; }

 

ReadOnly Property length() As Int32

onaddtrack

 

property onaddtrack: EventListener read write;

 

EventListener onaddtrack { get; set; }

 

var onaddtrack: EventListener { get{} set{} }

 

EventListener onaddtrack { __get; __set; }

 

Property onaddtrack() As EventListener

onchange

 

property onchange: EventListener read write;

 

EventListener onchange { get; set; }

 

var onchange: EventListener { get{} set{} }

 

EventListener onchange { __get; __set; }

 

Property onchange() As EventListener

onremovetrack

 

property onremovetrack: EventListener read write;

 

EventListener onremovetrack { get; set; }

 

var onremovetrack: EventListener { get{} set{} }

 

EventListener onremovetrack { __get; __set; }

 

Property onremovetrack() As EventListener

Required Methods


getTrackById

Returns the TextTrack found within the TextTrackList whose id matches the specified string. If no match is found, null is returned.

 

method getTrackById(parid: dynamic): TextTrack

 

TextTrack getTrackById(dynamic parid)

 

func getTrackById(_ parid: dynamic) -> TextTrack

 

TextTrack getTrackById(dynamic parid)

 

Function getTrackById(parid As dynamic) As TextTrack

Parameters:

  • parid: