Lingua

TextToSpeech.SetVoice(Voice) Metodo

Definizione

Imposta la voce di sintesi vocale.

[Android.Runtime.Register("setVoice", "(Landroid/speech/tts/Voice;)I", "GetSetVoice_Landroid_speech_tts_Voice_Handler")]
public virtual Android.Speech.Tts.OperationResult SetVoice(Android.Speech.Tts.Voice? voice);
[<Android.Runtime.Register("setVoice", "(Landroid/speech/tts/Voice;)I", "GetSetVoice_Landroid_speech_tts_Voice_Handler")>]
abstract member SetVoice : Android.Speech.Tts.Voice -> Android.Speech.Tts.OperationResult
override this.SetVoice : Android.Speech.Tts.Voice -> Android.Speech.Tts.OperationResult

Parametri

voice
Voice

Uno degli oggetti restituiti da #getVoices().

Valori restituiti

#ERROR o #SUCCESS.

Attributi

Commenti

Imposta la voce di sintesi vocale.

per android.speech.tts.TextToSpeech.setVoice(android.speech.tts.Voice).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

Vedi anche