SourceBufferList class

Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface represents a simple container list for multiple SourceBuffer objects. The source buffer list containing the SourceBuffers appended to a particular MediaSource can be retrieved using the MediaSource.sourceBuffers property. The individual source buffers can be accessed using the array operator [].

EventTarget

SourceBufferList

Implemented types
Available extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

SourceBufferList.new()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
length int

Available on SourceBufferList, provided by the PropsSourceBufferList extension

no setter
onaddsourcebuffer EventHandlerNonNull<Event>?

Available on SourceBufferList, provided by the PropsSourceBufferList extension

getter/setter pair
onremovesourcebuffer EventHandlerNonNull<Event>?

Available on SourceBufferList, provided by the PropsSourceBufferList extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

dispatchEvent(Event event) bool

Available on EventTarget, provided by the PropsEventTarget extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited