Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SpeechRecognitionEngine.AudioState Property

Gets the state of the audio being received by the SpeechRecognitionEngine.

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public ReadOnly Property AudioState As AudioState
    Get
'Usage
Dim instance As SpeechRecognitionEngine
Dim value As AudioState

value = instance.AudioState
public AudioState AudioState { get; }

Property Value

Type: Microsoft.Speech.Recognition.AudioState
The state of the audio input to the speech recognizer.

Remarks

The AudioState property represents the audio state with a member of the AudioState enumeration.

See Also

Reference

SpeechRecognitionEngine Class

SpeechRecognitionEngine Members

Microsoft.Speech.Recognition Namespace

Microsoft.Speech.Recognition.AudioState

AudioStateChanged