[BindServiceMethod(typeof(TextToSpeech), "BindService")]
public abstract class TextToSpeechBase
Base class for server-side implementations of TextToSpeech
Namespace
Google.Cloud.TextToSpeech.V1Beta1Assembly
Google.Cloud.TextToSpeech.V1Beta1.dll
Methods
ListVoices(ListVoicesRequest, ServerCallContext)
public virtual Task<ListVoicesResponse> ListVoices(ListVoicesRequest request, ServerCallContext context)
Returns a list of Voice supported for synthesis.
Parameters | |
---|---|
Name | Description |
request | ListVoicesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListVoicesResponse> | The response to send back to the client (wrapped by a task). |
SynthesizeSpeech(SynthesizeSpeechRequest, ServerCallContext)
public virtual Task<SynthesizeSpeechResponse> SynthesizeSpeech(SynthesizeSpeechRequest request, ServerCallContext context)
Synthesizes speech synchronously: receive results after all text input has been processed.
Parameters | |
---|---|
Name | Description |
request | SynthesizeSpeechRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<SynthesizeSpeechResponse> | The response to send back to the client (wrapped by a task). |