public enum StreamingRecognizeResponse.Types.SpeechEventType
Reference documentation and code samples for the Cloud Speech-to-Text v2 API enum StreamingRecognizeResponse.Types.SpeechEventType.
Indicates the type of speech event.
Namespace
Google.Cloud.Speech.V2Assembly
Google.Cloud.Speech.V2.dll
Fields | |
---|---|
Name | Description |
EndOfSingleUtterance | This event indicates that the server has detected the end of the user's
speech utterance and expects no additional speech. Therefore, the server
will not process additional audio and will close the gRPC bidirectional
stream. This event is only sent if there was a force cutoff due to
silence being detected early. This event is only available through the
|
SpeechActivityBegin | This event indicates that the server has detected the beginning of human
voice activity in the stream. This event can be returned multiple times
if speech starts and stops repeatedly throughout the stream. This event
is only sent if |
SpeechActivityEnd | This event indicates that the server has detected the end of human voice
activity in the stream. This event can be returned multiple times if
speech starts and stops repeatedly throughout the stream. This event is
only sent if |
Unspecified | No speech event specified. |