Click or drag to resize

TextToSpeechGetVoice Method

Return specific voice.

Namespace:  IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool GetVoice(
	TextToSpeechSuccessCallback<Voice> successCallback,
	TextToSpeechFailCallback failCallback,
	Nullable<VoiceType> voice = null,
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1TextToSpeechSuccessCallbackVoice
The success callback.
failCallback
Type: IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1TextToSpeechFailCallback
The fail callback.
voice (Optional)
Type: SystemNullableVoiceType
The name of the voice you would like to get. If this is null, TextToSpeech will default to the set voice.
customData (Optional)
Type: System.Collections.GenericDictionaryString, Object

[Missing <param name="customData"/> documentation for "M:IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.GetVoice(IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.SuccessCallback{IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.Voice},IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.TextToSpeech.FailCallback,System.Nullable{IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1.VoiceType},System.Collections.Generic.Dictionary{System.String,System.Object})"]

Return Value

Type: Boolean
Returns ture if the request was submitted.
See Also