Watson Developer Cloud Unity SDK  1.0.0
The Unity SDK uses the Watson Developer Cloud services, a collection of REST APIs and SDKs that use cognitive computing to solve complex problems.
IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechRecognitionEvent Class Reference

This data object contains data for the speechRecognitionEvent. More...

Public Member Functions

 SpeechRecognitionEvent (SpeechRecognitionResult[] _results)
 <exclude> More...
 
bool HasResult ()
 Check if our result list has atleast one valid result. More...
 
bool HasFinalResult ()
 Returns true if we have a final result. More...
 

Properties

SpeechRecognitionResult[] results [get, set]
 The results array consists of zero or more final results followed by zero or one interim result. The final results are guaranteed not to change; the interim result may be replaced by zero or more final results (followed by zero or one interim result). The service periodically sends updates to the result list, with the result_index set to the lowest index in the array that has changed. More...
 
int result_index [get, set]
 An index that indicates the change point in the results array. More...
 
string[] warnings [get, set]
 An array of warning messages about invalid query parameters or JSON fields included with the request. Each warning includes a descriptive message and a list of invalid argument strings. For example, a message such as "Unknown arguments:" or "Unknown url query arguments:" followed by a list of the form "invalid_arg_1, invalid_arg_2." The request succeeds despite the warnings. More...
 

Detailed Description

This data object contains data for the speechRecognitionEvent.

Constructor & Destructor Documentation

IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechRecognitionEvent.SpeechRecognitionEvent ( SpeechRecognitionResult[]  _results)
inline

<exclude>

Member Function Documentation

bool IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechRecognitionEvent.HasFinalResult ( )
inline

Returns true if we have a final result.

Returns
bool IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechRecognitionEvent.HasResult ( )
inline

Check if our result list has atleast one valid result.

Returns
Returns true if a result is found.

Property Documentation

int IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechRecognitionEvent.result_index
getset

An index that indicates the change point in the results array.

SpeechRecognitionResult [] IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechRecognitionEvent.results
getset

The results array consists of zero or more final results followed by zero or one interim result. The final results are guaranteed not to change; the interim result may be replaced by zero or more final results (followed by zero or one interim result). The service periodically sends updates to the result list, with the result_index set to the lowest index in the array that has changed.

string [] IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechRecognitionEvent.warnings
getset

An array of warning messages about invalid query parameters or JSON fields included with the request. Each warning includes a descriptive message and a list of invalid argument strings. For example, a message such as "Unknown arguments:" or "Unknown url query arguments:" followed by a list of the form "invalid_arg_1, invalid_arg_2." The request succeeds despite the warnings.


The documentation for this class was generated from the following file: