Class | Description |
---|---|
TextToSpeechClient |
Service Description: Service that implements Google Cloud Text-to-Speech API.
|
TextToSpeechSettings |
Settings class to configure an instance of
TextToSpeechClient . |
TextToSpeechSettings.Builder |
Builder for TextToSpeechSettings.
|
The interfaces provided are listed below, along with usage samples.
================== TextToSpeechClient ==================
Service Description: Service that implements Google Cloud Text-to-Speech API.
Sample for TextToSpeechClient:
try (TextToSpeechClient textToSpeechClient = TextToSpeechClient.create()) {
String languageCode = "";
ListVoicesResponse response = textToSpeechClient.listVoices(languageCode);
}
Copyright © 2019 Google LLC. All rights reserved.