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.

SynthesizerState SpeechSynthesizer和屬性會在事件StateChanged引發時, 用來表示的狀態。 State PreviousStateThe PreviousState and State properties use SynthesizerState to indicate state of the SpeechSynthesizer when the StateChanged event is raised.

適用於