Condividi tramite


PushAudioOutputStreamCallback Class

Definition

Abstract base class that defines callback methods (Write() and Close()) for custom audio output streams). Added in 1.4.0

public abstract class PushAudioOutputStreamCallback : IDisposable
type PushAudioOutputStreamCallback = class
    interface IDisposable
Public MustInherit Class PushAudioOutputStreamCallback
Implements IDisposable
Inheritance
PushAudioOutputStreamCallback
Implements

Remarks

See also: Recognize from in-memory stream

Constructors

PushAudioOutputStreamCallback()

Methods

Close()

Closes the audio output stream.

Dispose()

Dispose of associated resources.

Dispose(Boolean)

This method performs cleanup of resources. The Boolean parameter disposing indicates whether the method is called from Dispose() (if disposing is true) or from the finalizer (if disposing is false). Derived classes should override this method to dispose resource if needed.

Write(Byte[])

Writes binary data to the stream.

Applies to