public enum StreamingTranslateSpeechResponse.Types.SpeechEventType
Reference documentation and code samples for the Media Translation v1beta1 API enum StreamingTranslateSpeechResponse.Types.SpeechEventType.
Indicates the type of speech event.
Namespace
Google.Cloud.MediaTranslation.V1Beta1Assembly
Google.Cloud.MediaTranslation.V1Beta1.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 (although it may subsequently return
additional results). When the client receives 'END_OF_SINGLE_UTTERANCE'
event, the client should stop sending the requests. However, clients
should keep receiving remaining responses until the stream is terminated.
To construct the complete sentence in a streaming way, one should
override (if 'is_final' of previous response is false), or append (if
'is_final' of previous response is true). This event is only sent if
|
Unspecified |
No speech event specified. |