共用方式為


TextToSpeech.IsSpeaking Property

Definition

Checks whether the TTS engine is busy speaking.

public virtual bool IsSpeaking { [Android.Runtime.Register("isSpeaking", "()Z", "GetIsSpeakingHandler")] get; }
[<get: Android.Runtime.Register("isSpeaking", "()Z", "GetIsSpeakingHandler")>]
member this.IsSpeaking : bool

Property Value

true if the TTS engine is speaking.

Attributes

Remarks

Checks whether the TTS engine is busy speaking. Note that a speech item is considered complete once it's audio data has been sent to the audio mixer, or written to a file. There might be a finite lag between this point, and when the audio hardware completes playback.

Java documentation for android.speech.tts.TextToSpeech.isSpeaking().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to