Class SourceBuffer
java.lang.Object
elemental2.dom.SourceBuffer
- All Implemented Interfaces:
EventTarget
@JsType(isNative=true,
namespace="<global>")
public class SourceBuffer
extends Object
implements EventTarget
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface elemental2.dom.EventTarget
EventTarget.AddEventListenerListenerFn, EventTarget.AddEventListenerOptionsUnionType, EventTarget.RemoveEventListenerListenerFn, EventTarget.RemoveEventListenerOptionsUnionType
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble
double
double
boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
void
addEventListener
(String type, EventListener listener) void
addEventListener
(String type, EventListener listener, EventTarget.AddEventListenerOptionsUnionType options) void
append
(elemental2.core.Uint8Array data) final void
appendBuffer
(elemental2.core.ArrayBuffer data) final void
appendBuffer
(elemental2.core.ArrayBufferView data) void
void
changeType
(String type) boolean
dispatchEvent
(Event evt) void
remove
(double start, double end) void
removeEventListener
(String type, EventListener listener) void
removeEventListener
(String type, EventListener listener, EventTarget.RemoveEventListenerOptionsUnionType options) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface elemental2.dom.EventTarget
addEventListener, addEventListener, removeEventListener, removeEventListener
-
Field Details
-
appendWindowEnd
public double appendWindowEnd -
appendWindowStart
public double appendWindowStart -
buffered
-
mode
-
timestampOffset
public double timestampOffset -
updating
public boolean updating
-
-
Constructor Details
-
SourceBuffer
public SourceBuffer()
-
-
Method Details
-
abort
public void abort() -
addEventListener
public void addEventListener(String type, EventListener listener, EventTarget.AddEventListenerOptionsUnionType options) - Specified by:
addEventListener
in interfaceEventTarget
-
addEventListener
- Specified by:
addEventListener
in interfaceEventTarget
-
append
public void append(elemental2.core.Uint8Array data) -
appendBuffer
-
appendBuffer
@JsOverlay public final void appendBuffer(elemental2.core.ArrayBuffer data) -
appendBuffer
@JsOverlay public final void appendBuffer(elemental2.core.ArrayBufferView data) -
changeType
-
dispatchEvent
- Specified by:
dispatchEvent
in interfaceEventTarget
-
remove
public void remove(double start, double end) -
removeEventListener
public void removeEventListener(String type, EventListener listener, EventTarget.RemoveEventListenerOptionsUnionType options) - Specified by:
removeEventListener
in interfaceEventTarget
-
removeEventListener
- Specified by:
removeEventListener
in interfaceEventTarget
-