Android.Speech.Tts.TextToSpeechService.OnLoadVoice Method
Notifies the engine that it should load a speech synthesis voice.

Syntax

[Android.Runtime.Register("onLoadVoice", "(Ljava/lang/String;)I", "GetOnLoadVoice_Ljava_lang_String_Handler")]
[return:Android.Runtime.GeneratedEnum]
public virtual OperationResult OnLoadVoice (string voiceName)

Parameters

voiceName
Name of the voice.

Returns

Documentation for this section has not yet been entered.

Remarks

Notifies the engine that it should load a speech synthesis voice. There is no guarantee that this method is always called before the voice is used for synthesis. It is merely a hint to the engine that it will probably get some synthesis requests for this voice at some point in the future. Will be called only on synthesis thread. The default implementation creates a Locale from the voice name (by interpreting the name as a BCP-47 tag for the locale), and passes it to TextToSpeechService.OnLoadLanguage(string, System.String, System.String).

[Android Documentation]

Requirements

Namespace: Android.Speech.Tts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14