@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="AudioScheduledSourceNode")
public class AudioScheduledSourceNode
extends AudioNode
| Modifier and Type | Field and Description |
|---|---|
EventHandler |
onended
The onended event handler for the AudioScheduledSourceNode interface specifies an EventHandler to be executed when the ended event occurs on the node.
|
channelCount, channelCountMode, channelInterpretation| Modifier | Constructor and Description |
|---|---|
protected |
AudioScheduledSourceNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEndedListener(EventListener callback) |
void |
addEndedListener(EventListener callback,
AddEventListenerOptions options) |
void |
addEndedListener(EventListener callback,
boolean useCapture) |
void |
removeEndedListener(EventListener callback) |
void |
removeEndedListener(EventListener callback,
boolean useCapture) |
void |
removeEndedListener(EventListener callback,
EventListenerOptions options) |
void |
start()
The start() method on AudioScheduledSourceNode schedules a sound to begin playback at the specified time.
|
void |
start(double when)
The start() method on AudioScheduledSourceNode schedules a sound to begin playback at the specified time.
|
void |
stop()
The stop() method on AudioScheduledSourceNode schedules a sound to cease playback at the specified time.
|
void |
stop(double when)
The stop() method on AudioScheduledSourceNode schedules a sound to cease playback at the specified time.
|
connect, connect, connect, connect, connect, context, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, numberOfInputs, numberOfOutputsaddEventListener, addEventListener, addEventListener, dispatchEvent, removeEventListener, removeEventListener, removeEventListener@Nullable public EventHandler onended
public void start(double when)
public void start()
public void stop(double when)
public void stop()
@JsOverlay
public final void addEndedListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addEndedListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addEndedListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeEndedListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeEndedListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeEndedListener(@Nonnull
EventListener callback)