API documentation  2.0rc1
Public Member Functions | List of all members
client::VideoTrackList Class Reference

#include <clientlib.h>

Inherits client::EventTarget.

Public Member Functions

double get_length ()
 
EventListenerget_onaddtrack ()
 
void set_onaddtrack (EventListener *)
 
EventListenerget_onchange ()
 
void set_onchange (EventListener *)
 
EventListenerget_onremovetrack ()
 
void set_onremovetrack (EventListener *)
 
double get_selectedIndex ()
 
VideoTrackgetTrackById (const String &id)
 
VideoTrackitem (double index)
 
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, EventListenerOptions *options)
 
VideoTrack *& operator[] (int index)
 
VideoTrackoperator[] (int index) const
 
VideoTrackListget_prototype ()
 
void set_prototype (VideoTrackList *)
 
 VideoTrackList ()
 
- Public Member Functions inherited from client::EventTarget
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
bool dispatchEvent (Event *evt)
 
void removeEventListener (const String &type)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, bool options)
 
EventTargetget_prototype ()
 
void set_prototype (EventTarget *)
 
 EventTarget ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ VideoTrackList()

client::VideoTrackList::VideoTrackList ( )

Member Function Documentation

◆ addEventListener() [1/5]

void client::VideoTrackList::addEventListener ( const String type,
EventListener listener 
)

◆ addEventListener() [2/5]

void client::VideoTrackList::addEventListener ( const String type,
EventListener listener,
bool  options 
)

◆ addEventListener() [3/5]

void client::VideoTrackList::addEventListener ( const String type,
EventListener listener,
AddEventListenerOptions options 
)

◆ addEventListener() [4/5]

void client::VideoTrackList::addEventListener ( const String type,
EventListenerObject listener 
)

◆ addEventListener() [5/5]

void client::VideoTrackList::addEventListener ( const String type,
EventListenerObject listener,
AddEventListenerOptions options 
)

◆ get_length()

double client::VideoTrackList::get_length ( )

◆ get_onaddtrack()

EventListener* client::VideoTrackList::get_onaddtrack ( )

◆ get_onchange()

EventListener* client::VideoTrackList::get_onchange ( )

◆ get_onremovetrack()

EventListener* client::VideoTrackList::get_onremovetrack ( )

◆ get_prototype()

VideoTrackList* client::VideoTrackList::get_prototype ( )

◆ get_selectedIndex()

double client::VideoTrackList::get_selectedIndex ( )

◆ getTrackById()

VideoTrack* client::VideoTrackList::getTrackById ( const String id)

◆ item()

VideoTrack* client::VideoTrackList::item ( double  index)

◆ operator[]() [1/2]

VideoTrack*& client::VideoTrackList::operator[] ( int  index)
inline

◆ operator[]() [2/2]

VideoTrack* client::VideoTrackList::operator[] ( int  index) const
inline

◆ removeEventListener() [1/5]

void client::VideoTrackList::removeEventListener ( const String type,
EventListener listener 
)

◆ removeEventListener() [2/5]

void client::VideoTrackList::removeEventListener ( const String type,
EventListener listener,
bool  options 
)

◆ removeEventListener() [3/5]

void client::VideoTrackList::removeEventListener ( const String type,
EventListener listener,
EventListenerOptions options 
)

◆ removeEventListener() [4/5]

void client::VideoTrackList::removeEventListener ( const String type,
EventListenerObject listener 
)

◆ removeEventListener() [5/5]

void client::VideoTrackList::removeEventListener ( const String type,
EventListenerObject listener,
EventListenerOptions options 
)

◆ set_onaddtrack()

void client::VideoTrackList::set_onaddtrack ( EventListener )

◆ set_onchange()

void client::VideoTrackList::set_onchange ( EventListener )

◆ set_onremovetrack()

void client::VideoTrackList::set_onremovetrack ( EventListener )

◆ set_prototype()

void client::VideoTrackList::set_prototype ( VideoTrackList )