PullAudioInputStreamCallback Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for