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.
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
typestringeventInitDictOfflineAudioCompletionEventInit
Remarks
NOTE
You wouldn't generally use the constructor manually.
OfflineAudioCompletionEventevents are dispatched to
OfflineAudioContext instances for legacy reasons.
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; }