SynthesizerState SynthesizerState SynthesizerState SynthesizerState Enum

定义

枚举 SpeechSynthesizer 状态的值。Enumerates values for the state of the SpeechSynthesizer.

public enum class SynthesizerState
public enum SynthesizerState
type SynthesizerState = 
Public Enum SynthesizerState
继承
SynthesizerStateSynthesizerStateSynthesizerStateSynthesizerState

字段

Paused Paused Paused Paused 2

指示 SpeechSynthesizer 为暂停。Indicates that the SpeechSynthesizer is paused.

Ready Ready Ready Ready 0

指示 SpeechSynthesizer 准备从提示生成语音。Indicates that the SpeechSynthesizer is ready to generate speech from a prompt.

Speaking Speaking Speaking Speaking 1

指示 SpeechSynthesizer 正在讲话。Indicates that the SpeechSynthesizer is speaking.

注解

属性使用SynthesizerState来指示的当前状态SpeechSynthesizerStateThe State property uses SynthesizerState to indicate the current state of the SpeechSynthesizer. 有关示例,请参见 StateSee State for an example.

PreviousState SpeechSynthesizer和属性State 用于SynthesizerState指示在引发事件StateChanged时的状态。The PreviousState and State properties use SynthesizerState to indicate state of the SpeechSynthesizer when the StateChanged event is raised.

适用于