Click or drag to resize

SpeechToTextRecognize Method (SpeechToTextSuccessCallbackSpeechRecognitionEvent, SpeechToTextFailCallback, Byte, String, DictionaryString, Object)

Namespace:  IBM.Watson.DeveloperCloud.Services.SpeechToText.v1
Assembly:  UnityDocumentationBuilder (in UnityDocumentationBuilder.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool Recognize(
	SpeechToTextSuccessCallback<SpeechRecognitionEvent> successCallback,
	SpeechToTextFailCallback failCallback,
	byte[] audioData,
	string contentType,
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1SpeechToTextSuccessCallbackSpeechRecognitionEvent
failCallback
Type: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1SpeechToTextFailCallback
audioData
Type: SystemByte
contentType
Type: SystemString
customData (Optional)
Type: System.Collections.GenericDictionaryString, Object

Return Value

Type: Boolean
See Also