public abstract static class RouteLegRefresh.Builder
extends java.lang.Object
RouteLegRefresh.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract RouteLegRefresh.Builder |
annotation(com.mapbox.api.directions.v5.models.LegAnnotation annotation)
A
LegAnnotation that contains additional details about each line segment along the
route geometry. |
abstract RouteLegRefresh |
build()
Build a new
RouteLegRefresh object. |
public abstract RouteLegRefresh.Builder annotation(@Nullable com.mapbox.api.directions.v5.models.LegAnnotation annotation)
LegAnnotation that contains additional details about each line segment along the
route geometry. If you'd like to receiving this, you must request it inside your Directions
request before executing the call.annotation - a LegAnnotation objectpublic abstract RouteLegRefresh build()
RouteLegRefresh object.RouteLegRefresh using the provided values in this builder