다음을 통해 공유


PullAudioInputStreamCallback Class

Definition

Defines callback methods (Read() and Close()) for custom audio input streams).

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

Remarks

See also: About the Speech SDK audio input stream API

Constructors

PullAudioInputStreamCallback()

Methods

Close()

Closes the audio input 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.

GetProperty(PropertyId)

Gets a property of the data buffer. If the property isn’t found, an empty string is returned. Added in 1.5.0

Read(Byte[], UInt32)

Reads binary data from the stream. Note: The dataBuffer returned by Read() cannot contain any audio header.

Applies to