public interface TextTrack extends EventTarget
Modifier and Type | Field and Description |
---|---|
static int |
DISABLED |
static int |
HIDDEN |
static int |
SHOWING |
Modifier and Type | Method and Description |
---|---|
void |
addCue(TextTrackCue cue) |
EventRemover |
addEventListener(String type,
EventListener listener)
Register an event handler of a specific event type on the
EventTarget . |
EventRemover |
addEventListener(String type,
EventListener listener,
boolean useCapture)
Register an event handler of a specific event type on the
EventTarget . |
boolean |
dispatchEvent(Event evt)
Dispatch an event to this
EventTarget . |
TextTrackCueList |
getActiveCues() |
TextTrackCueList |
getCues() |
String |
getKind() |
String |
getLabel() |
String |
getLanguage() |
int |
getMode() |
EventListener |
getOncuechange() |
void |
removeCue(TextTrackCue cue) |
void |
removeEventListener(String type,
EventListener listener)
Removes an event listener from the
EventTarget . |
void |
removeEventListener(String type,
EventListener listener,
boolean useCapture)
Removes an event listener from the
EventTarget . |
void |
setMode(int arg) |
void |
setOncuechange(EventListener arg) |
static final int DISABLED
static final int HIDDEN
static final int SHOWING
TextTrackCueList getActiveCues()
TextTrackCueList getCues()
String getKind()
String getLabel()
String getLanguage()
int getMode()
void setMode(int arg)
EventListener getOncuechange()
void setOncuechange(EventListener arg)
void addCue(TextTrackCue cue)
EventRemover addEventListener(String type, EventListener listener)
EventTarget
EventTarget
.addEventListener
in interface EventTarget
EventRemover addEventListener(String type, EventListener listener, boolean useCapture)
EventTarget
EventTarget
.addEventListener
in interface EventTarget
boolean dispatchEvent(Event evt)
EventTarget
EventTarget
.dispatchEvent
in interface EventTarget
void removeCue(TextTrackCue cue)
void removeEventListener(String type, EventListener listener)
EventTarget
EventTarget
.removeEventListener
in interface EventTarget
void removeEventListener(String type, EventListener listener, boolean useCapture)
EventTarget
EventTarget
.removeEventListener
in interface EventTarget
Copyright © 2018. All rights reserved.