共用方式為


TextToSpeech.DefaultVoice Property

Definition

Returns a Voice instance that's the default voice for the default Text-to-speech language.

public virtual Android.Speech.Tts.Voice? DefaultVoice { [Android.Runtime.Register("getDefaultVoice", "()Landroid/speech/tts/Voice;", "GetGetDefaultVoiceHandler")] get; }
[<get: Android.Runtime.Register("getDefaultVoice", "()Landroid/speech/tts/Voice;", "GetGetDefaultVoiceHandler")>]
member this.DefaultVoice : Android.Speech.Tts.Voice

Property Value

The default voice instance for the default language, or null if not set or on error.

Attributes

Remarks

Returns a Voice instance that's the default voice for the default Text-to-speech language.

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

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