Bagikan melalui


Note

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

SynthesizerState Enumeration

Enumerates values for the state of the SpeechSynthesizer.

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

Syntax

'Declaration
Public Enumeration SynthesizerState
'Usage
Dim instance As SynthesizerState
public enum SynthesizerState

Members

Member name Description
Ready Indicates that the SpeechSynthesizer is ready to generate speech from a prompt.
Speaking Indicates that the SpeechSynthesizer is speaking.
Paused Indicates that the SpeechSynthesizer is paused.

Remarks

The State property uses SynthesizerState to indicate the current state of the SpeechSynthesizer. See State for an example.

The PreviousState and State properties use SynthesizerState to indicate state of the SpeechSynthesizer when the StateChanged event is raised.

See Also

Reference

Microsoft.Speech.Synthesis Namespace