public abstract class MapboxRouteTiles extends com.mapbox.core.MapboxService<okhttp3.ResponseBody,RouteTilesService>
MapboxRouteTileVersions
API.Modifier and Type | Class and Description |
---|---|
static class |
MapboxRouteTiles.Builder
This builder is used to create a new request to the Mapbox Route Tiles API.
|
Modifier | Constructor and Description |
---|---|
protected |
MapboxRouteTiles() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
baseUrl() |
static MapboxRouteTiles.Builder |
builder()
Build a new
MapboxRouteTiles object. |
protected okhttp3.OkHttpClient |
getOkHttpClient() |
protected retrofit2.Call<okhttp3.ResponseBody> |
initializeCall() |
abstract MapboxRouteTiles.Builder |
toBuilder()
Returns the builder which created this instance of
MapboxRouteTiles and allows for
modification and building a new route tiles request with new information. |
protected retrofit2.Call<okhttp3.ResponseBody> initializeCall()
initializeCall
in class com.mapbox.core.MapboxService<okhttp3.ResponseBody,RouteTilesService>
protected okhttp3.OkHttpClient getOkHttpClient()
getOkHttpClient
in class com.mapbox.core.MapboxService<okhttp3.ResponseBody,RouteTilesService>
protected abstract java.lang.String baseUrl()
baseUrl
in class com.mapbox.core.MapboxService<okhttp3.ResponseBody,RouteTilesService>
public static MapboxRouteTiles.Builder builder()
MapboxRouteTiles
object.MapboxRouteTiles.Builder
object for creating this objectpublic abstract MapboxRouteTiles.Builder toBuilder()
MapboxRouteTiles
and allows for
modification and building a new route tiles request with new information.MapboxRouteTiles.Builder
with the same variables set as this route tiles object