public abstract class MapboxSpeech extends com.mapbox.core.MapboxService<okhttp3.ResponseBody,SpeechService>
| Modifier and Type | Class and Description |
|---|---|
static class |
MapboxSpeech.Builder
This builder is used to create a MapboxSpeech instance, with details about how the API calls
should be made (input/output format, language, etc.).
|
| Modifier | Constructor and Description |
|---|---|
protected |
MapboxSpeech() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
baseUrl() |
static MapboxSpeech.Builder |
builder()
Creates a builder for a MapboxSpeech 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.mapbox.core.MapboxService<okhttp3.ResponseBody,SpeechService>protected abstract java.lang.String baseUrl()
baseUrl in class com.mapbox.core.MapboxService<okhttp3.ResponseBody,SpeechService>public okhttp3.OkHttpClient getOkHttpClient()
getOkHttpClient in class com.mapbox.core.MapboxService<okhttp3.ResponseBody,SpeechService>public static MapboxSpeech.Builder builder()