Google Cloud Speech v1p1beta1 API - Enum StreamingRecognizeResponse.Types.SpeechEventType (3.0.0-beta06)

public enum StreamingRecognizeResponse.Types.SpeechEventType

Reference documentation and code samples for the Google Cloud Speech v1p1beta1 API enum StreamingRecognizeResponse.Types.SpeechEventType.

Indicates the type of speech event.

Namespace

Google.Cloud.Speech.V1P1Beta1

Assembly

Google.Cloud.Speech.V1P1Beta1.dll

Fields

NameDescription
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 (although it may subsequently return additional results). The client should stop sending additional audio data, half-close the gRPC connection, and wait for any additional results until the server closes the gRPC connection. This event is only sent if single_utterance was set to true, and is not used otherwise.

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 voice_activity_events is set to true.

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 voice_activity_events is set to true.

SpeechActivityTimeout

This event indicates that the user-set timeout for speech activity begin or end has exceeded. Upon receiving this event, the client is expected to send a half close. Further audio will not be processed.

SpeechEventUnspecified

No speech event specified.