Edit

Share via


SpeechRecognitionStream Class

Definition

A Stream implementation, for consumption by Microsoft.Speech, which is backed by Real-time Protocol (RTP) data received by an AudioVideoFlow instance.

public ref class SpeechRecognitionStream sealed : System::IO::Stream
public sealed class SpeechRecognitionStream : System.IO.Stream
type SpeechRecognitionStream = class
    inherit Stream
Public NotInheritable Class SpeechRecognitionStream
Inherits Stream
Inheritance
SpeechRecognitionStream

Properties

AudioFormat

Gets the format of the audio data in this stream.

CanRead

Gets a value indicating whether the current stream supports reading.

CanSeek

Gets a value indicating whether the current stream supports seeking.

CanTimeout

Gets a value that determines whether the current stream can time out.

CanWrite

Gets a value indicating whether the current stream supports writing.

Length

Gets the length in bytes of the stream. Not supported.

Position

Gets or sets the position within the current stream. Setting this is not supported.

ReadTimeout

Gets or sets a value that determines how long the stream will attempt to read before timing out. Not supported.

WriteTimeout

Gets or sets a value that determines how long the stream will attempt to write before timing out. Not supported.

Methods

BeginRead(Byte[], Int32, Int32, AsyncCallback, Object)

Not supported.

BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object)

Not supported.

EndRead(IAsyncResult)

Not supported.

EndWrite(IAsyncResult)

Not supported.

Flush()

Clears all buffers for this stream and causes any buffered data to be written to the underlying device.

Read(Byte[], Int32, Int32)

Reads a sequence of bytes and advances the position within the stream by the number of bytes read.

ReadByte()

Not supported.

Seek(Int64, SeekOrigin)

Sets the position within the current stream. Not supported.

SetLength(Int64)

Sets the length of the current stream. Not supported.

Write(Byte[], Int32, Int32)

Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. Not supported.

WriteByte(Byte)

Not supported.

Applies to