VideoTrackList

Overview

The VideoTrackList interface is used to represent a list of the video tracks contained within a <video> element, with each track represented by a separate VideoTrack object in the list.

Location

 

addEventListener (dynamic, dynamic)    (declared in EventTarget)

Registers an event handler of a specific event type on the EventTarget.

 

method addEventListener(partype: dynamic; parlistener: dynamic)

 

void addEventListener(dynamic partype, dynamic parlistener)

 

func addEventListener(_ partype: dynamic, _ parlistener: dynamic)

 

void addEventListener(dynamic partype, dynamic parlistener)

 

Sub addEventListener(partype As dynamic, parlistener As dynamic)

Parameters:

  • partype:
  • parlistener:

addEventListener (dynamic, dynamic, dynamic)    (declared in EventTarget)

Registers an event handler of a specific event type on the EventTarget.

 

method addEventListener(type: dynamic; listener: dynamic; options: dynamic)

 

void addEventListener(dynamic type, dynamic listener, dynamic options)

 

func addEventListener(_ type: dynamic, _ listener: dynamic, _ options: dynamic)

 

void addEventListener(dynamic type, dynamic listener, dynamic options)

 

Sub addEventListener(type As dynamic, listener As dynamic, options As dynamic)

Parameters:

  • type:
  • listener:
  • options:

addEventListener (dynamic, dynamic, Boolean)    (declared in EventTarget)

Registers an event handler of a specific event type on the EventTarget.

 

method addEventListener(type: dynamic; listener: dynamic; useCapture: Boolean)

 

void addEventListener(dynamic type, dynamic listener, Boolean useCapture)

 

func addEventListener(_ type: dynamic, _ listener: dynamic, _ useCapture: Boolean)

 

void addEventListener(dynamic type, dynamic listener, Boolean useCapture)

 

Sub addEventListener(type As dynamic, listener As dynamic, useCapture As Boolean)

Parameters:

  • type:
  • listener:
  • useCapture:

getTrackById

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

 

method getTrackById(parid: dynamic)

 

void getTrackById(dynamic parid)

 

func getTrackById(_ parid: dynamic)

 

void getTrackById(dynamic parid)

 

Sub getTrackById(parid As dynamic)

Parameters:

  • parid:

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

removeEventListener    (declared in EventTarget)

Removes an event listener from the EventTarget.

 

method removeEventListener(partype: dynamic; parlistener: dynamic; paroptions: dynamic; paruseCapture: dynamic): dynamic

 

dynamic removeEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic paruseCapture)

 

func removeEventListener(_ partype: dynamic, _ parlistener: dynamic, _ paroptions: dynamic, _ paruseCapture: dynamic) -> dynamic

 

dynamic removeEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic paruseCapture)

 

Function removeEventListener(partype As dynamic, parlistener As dynamic, paroptions As dynamic, paruseCapture As dynamic) As dynamic

Parameters:

  • partype:
  • parlistener:
  • paroptions:
  • paruseCapture:

selectedIndex

 

property selectedIndex: Int32 read;

 

Int32 selectedIndex { get; }

 

var selectedIndex: Int32 { get{} }

 

Int32 selectedIndex { __get; }

 

ReadOnly Property selectedIndex() As Int32

 

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

selectedIndex

 

property selectedIndex: Int32 read;

 

Int32 selectedIndex { get; }

 

var selectedIndex: Int32 { get{} }

 

Int32 selectedIndex { __get; }

 

ReadOnly Property selectedIndex() As Int32

 

addEventListener (dynamic, dynamic)    (declared in EventTarget)

Registers an event handler of a specific event type on the EventTarget.

 

method addEventListener(partype: dynamic; parlistener: dynamic)

 

void addEventListener(dynamic partype, dynamic parlistener)

 

func addEventListener(_ partype: dynamic, _ parlistener: dynamic)

 

void addEventListener(dynamic partype, dynamic parlistener)

 

Sub addEventListener(partype As dynamic, parlistener As dynamic)

Parameters:

  • partype:
  • parlistener:

addEventListener (dynamic, dynamic, dynamic)    (declared in EventTarget)

Registers an event handler of a specific event type on the EventTarget.

 

method addEventListener(type: dynamic; listener: dynamic; options: dynamic)

 

void addEventListener(dynamic type, dynamic listener, dynamic options)

 

func addEventListener(_ type: dynamic, _ listener: dynamic, _ options: dynamic)

 

void addEventListener(dynamic type, dynamic listener, dynamic options)

 

Sub addEventListener(type As dynamic, listener As dynamic, options As dynamic)

Parameters:

  • type:
  • listener:
  • options:

addEventListener (dynamic, dynamic, Boolean)    (declared in EventTarget)

Registers an event handler of a specific event type on the EventTarget.

 

method addEventListener(type: dynamic; listener: dynamic; useCapture: Boolean)

 

void addEventListener(dynamic type, dynamic listener, Boolean useCapture)

 

func addEventListener(_ type: dynamic, _ listener: dynamic, _ useCapture: Boolean)

 

void addEventListener(dynamic type, dynamic listener, Boolean useCapture)

 

Sub addEventListener(type As dynamic, listener As dynamic, useCapture As Boolean)

Parameters:

  • type:
  • listener:
  • useCapture:

getTrackById

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

 

method getTrackById(parid: dynamic)

 

void getTrackById(dynamic parid)

 

func getTrackById(_ parid: dynamic)

 

void getTrackById(dynamic parid)

 

Sub getTrackById(parid As dynamic)

Parameters:

  • parid:

removeEventListener    (declared in EventTarget)

Removes an event listener from the EventTarget.

 

method removeEventListener(partype: dynamic; parlistener: dynamic; paroptions: dynamic; paruseCapture: dynamic): dynamic

 

dynamic removeEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic paruseCapture)

 

func removeEventListener(_ partype: dynamic, _ parlistener: dynamic, _ paroptions: dynamic, _ paruseCapture: dynamic) -> dynamic

 

dynamic removeEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic paruseCapture)

 

Function removeEventListener(partype As dynamic, parlistener As dynamic, paroptions As dynamic, paruseCapture As dynamic) As dynamic

Parameters:

  • partype:
  • parlistener:
  • paroptions:
  • paruseCapture: