Click or drag to resize

SpeechToText.GetModels 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(
	SpeechToText.SuccessCallback<ModelSet> successCallback,
	SpeechToText.FailCallback failCallback,
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechToText.SuccessCallback<ModelSet>
The success callback.
failCallback
Type: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechToText.FailCallback
The fail callback.
customData (Optional)
Type: System.Collections.Generic.Dictionary<String, Object>
Custom data.

Return Value

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