Bagikan melalui


Note

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

AudioStateChangedEventArgs.AudioState Property

Gets the new state of audio input to 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 AudioStateChangedEventArgs
Dim value As AudioState

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

Property Value

Type: Microsoft.Speech.Recognition.AudioState
The state of the audio input signal after the AudioStateChanged event was raised.

Remarks

The AudioState property contains one of three values from the AudioState enumeration.

See Also

Reference

AudioStateChangedEventArgs Class

AudioStateChangedEventArgs Members

Microsoft.Speech.Recognition Namespace