@nextcloud/dialogs
    Preparing search index...

    Interface SourceBufferList

    The SourceBufferList interface represents a simple container list for multiple SourceBuffer objects.

    MDN Reference

    interface SourceBufferList {
        length: number;
        onaddsourcebuffer: null | ((this: SourceBufferList, ev: Event) => any);
        onremovesourcebuffer: null | ((this: SourceBufferList, ev: Event) => any);
        addEventListener<K extends keyof SourceBufferListEventMap>(
            type: K,
            listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
            options?: boolean | AddEventListenerOptions,
        ): void;
        addEventListener(
            type: string,
            listener: EventListenerOrEventListenerObject,
            options?: boolean | AddEventListenerOptions,
        ): void;
        dispatchEvent(event: Event): boolean;
        removeEventListener<K extends keyof SourceBufferListEventMap>(
            type: K,
            listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
            options?: boolean | EventListenerOptions,
        ): void;
        removeEventListener(
            type: string,
            listener: EventListenerOrEventListenerObject,
            options?: boolean | EventListenerOptions,
        ): void;
        [index: number]: SourceBuffer;
    }

    Hierarchy

    • EventTarget
      • SourceBufferList

    Indexable

    Index

    Properties

    length: number

    The length read-only property of the An unsigned long number.

    MDN Reference

    onaddsourcebuffer: null | ((this: SourceBufferList, ev: Event) => any)
    onremovesourcebuffer: null | ((this: SourceBufferList, ev: Event) => any)

    Methods

    • The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.

      MDN Reference

      Parameters

      • event: Event

      Returns boolean