Interface SpeechTranslationServiceGrpc.AsyncService (0.48.0)

public static interface SpeechTranslationServiceGrpc.AsyncService

Provides translation from/to media types.

Methods

streamingTranslateSpeech(StreamObserver<StreamingTranslateSpeechResponse> responseObserver)

public default StreamObserver<StreamingTranslateSpeechRequest> streamingTranslateSpeech(StreamObserver<StreamingTranslateSpeechResponse> responseObserver)

Performs bidirectional streaming speech translation: receive results while sending audio. This method is only available via the gRPC API (not REST).

Parameter
Name Description
responseObserver io.grpc.stub.StreamObserver<StreamingTranslateSpeechResponse>
Returns
Type Description
io.grpc.stub.StreamObserver<StreamingTranslateSpeechRequest>