Click or drag to resize

SpeechToTextGetModels Method

This function retrieves all the language models that the user may use by setting the RecognizeModel public property.

Namespace:  IBM.Watson.DeveloperCloud.Services.SpeechToText.v1
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool GetModels(
	SpeechToTextSuccessCallback<ModelSet> successCallback,
	SpeechToTextFailCallback failCallback,
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1SpeechToTextSuccessCallbackModelSet
The success callback.
failCallback
Type: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1SpeechToTextFailCallback
The fail callback.
customData (Optional)
Type: System.Collections.GenericDictionaryString, Object
Custom data.

Return Value

Type: Boolean
Returns true if request has been made.
See Also