Sdílet prostřednictvím


TextToSpeech.Voice Property

Definition

Returns a Voice instance describing the voice currently being used for synthesis requests sent to the TextToSpeech engine.

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

Property Value

Voice instance used by the client, or null if not set or on error.

Attributes

Remarks

Returns a Voice instance describing the voice currently being used for synthesis requests sent to the TextToSpeech engine.

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

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

See also