Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SourceBufferList

A simple container list for multiple SourceBuffer objects.

interface SourceBufferList extends EventTarget {
[index: number]: SourceBuffer;
readonly length: number;
onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;
onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;
[[Symbol.iterator]](): IterableIterator<SourceBuffer>;
addEventListener<K extends keyof SourceBufferListEventMap>(
type: K,
listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof SourceBufferListEventMap>(
type: K,
listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var SourceBufferList: {
prototype: SourceBufferList;
}
;

§Extends

§Index Signatures

§
[index: number]: SourceBuffer

§Properties

§
readonly length: number
[src]
§
onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null
[src]
§
onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null
[src]

§Methods

§
[[Symbol.iterator]](): IterableIterator<SourceBuffer>
[src]
§
addEventListener<K extends keyof SourceBufferListEventMap>(
type: K,
listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
removeEventListener<K extends keyof SourceBufferListEventMap>(
type: K,
listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
[src]
§
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
[src]