Package | Description |
---|---|
io.spokestack.spokestack.tts |
This package contains a client for the Spokestack TTS service.
|
Modifier and Type | Field and Description |
---|---|
protected TTSCallback |
SpokestackTTSService.callback
The callback used to process asynchronous responses from the underlying
HTTP client.
|
Modifier and Type | Method and Description |
---|---|
void |
SpokestackTTSClient.setTtsCallback(TTSCallback callback)
Set the callback that should receive TTS responses.
|
Constructor and Description |
---|
SpokestackTTSClient(TTSCallback callback)
Create a new Spokestack TTS client.
|
SpokestackTTSClient(TTSCallback callback,
okhttp3.OkHttpClient client)
Create a new Spokestack TTS client with an API ID and a provided HTTP
client.
|
Copyright © 2021. All rights reserved.