Click or drag to resize

SpeechRecognitionEvent Properties

The SpeechRecognitionEvent type exposes the following members.

Properties
  NameDescription
Public propertyresult_index
An index that indicates the change point in the results array.
Public propertyresults
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.
Public propertyspeaker_labels
An array that identifies which words were spoken by which speakers in a multi-person exchange. Returned in the response only if `speaker_labels` is `true`.
Public propertywarnings
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.
Top
See Also