public abstract class NbmapSpeech extends com.nbmap.core.NbmapService<okhttp3.ResponseBody,SpeechService>
| Modifier and Type | Class and Description |
|---|---|
static class |
NbmapSpeech.Builder
This builder is used to create a NbmapSpeech instance, with details about how the API calls
should be made (input/output format, language, etc.).
|
| Modifier | Constructor and Description |
|---|---|
protected |
NbmapSpeech() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
baseUrl() |
static NbmapSpeech.Builder |
builder()
Creates a builder for a NbmapSpeech object with a default cache size of 10 MB.
|
okhttp3.OkHttpClient |
getOkHttpClient() |
protected retrofit2.Call<okhttp3.ResponseBody> |
initializeCall() |
protected retrofit2.Call<okhttp3.ResponseBody> initializeCall()
initializeCall in class com.nbmap.core.NbmapService<okhttp3.ResponseBody,SpeechService>protected abstract java.lang.String baseUrl()
baseUrl in class com.nbmap.core.NbmapService<okhttp3.ResponseBody,SpeechService>public okhttp3.OkHttpClient getOkHttpClient()
getOkHttpClient in class com.nbmap.core.NbmapService<okhttp3.ResponseBody,SpeechService>public static NbmapSpeech.Builder builder()