AudioScheduledSourceNode
interface AudioScheduledSourceNode extends AudioNode {
onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null;
addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
type: K,
listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void;removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
type: K,
listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;removeEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;start(when?: number): void;
stop(when?: number): void;
}var AudioScheduledSourceNode: {
prototype: AudioScheduledSourceNode;
new (): AudioScheduledSourceNode;
};§Properties
§
onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null
[src]§Methods
§
addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
[src]type: K,
listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void§
addEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void§
removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
[src]type: K,
listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void