This data object contains data for the speechRecognitionEvent.
More...
|
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...
|
|
This data object contains data for the speechRecognitionEvent.
IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechRecognitionEvent.SpeechRecognitionEvent |
( |
SpeechRecognitionResult[] |
_results | ) |
|
|
inline |
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.
int IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.SpeechRecognitionEvent.result_index |
|
getset |
An index that indicates the change point in the results array.
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: