Table of Contents

Class OfflineAudioCompletionEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The Web Audio API OfflineAudioCompletionEvent interface represents events that occur when the processing of an OfflineAudioContext is terminated. The OfflineAudioContextcomplete event uses this interface.

[Value("OfflineAudioCompletionEvent")]
public class OfflineAudioCompletionEvent : Event
Inheritance
OfflineAudioCompletionEvent
Inherited Members

Remarks

NOTE

This interface is marked as deprecated; it is still supported for legacy reasons, but it will soon be superseded when the promise version of StartRendering() is supported in browsers, which will no longer need it.

-Using the Web Audio API

See also on MDN

Constructors

OfflineAudioCompletionEvent()

public OfflineAudioCompletionEvent()

OfflineAudioCompletionEvent(string, OfflineAudioCompletionEventInit)

The OfflineAudioCompletionEvent() constructor of the Web Audio API creates a new
OfflineAudioCompletionEvent object.

public OfflineAudioCompletionEvent(string type, OfflineAudioCompletionEventInit eventInitDict)

Parameters

type string
eventInitDict OfflineAudioCompletionEventInit

Remarks

NOTE

You wouldn't generally use the constructor manually.
OfflineAudioCompletionEvent events are dispatched to
OfflineAudioContext instances for legacy reasons.

See also on MDN

Properties

RenderedBuffer

The renderedBuffer read-only property of the
OfflineAudioCompletionEvent interface is an AudioBuffer
containing the result of processing an OfflineAudioContext.

[Value("renderedBuffer")]
public AudioBuffer RenderedBuffer { get; }

Property Value

AudioBuffer

An AudioBuffer.

Remarks