|
static RouteData.Builder | from (final @NonNull Route route) |
|
|
| MapRoute (final Parcel in) |
|
| MapObject ( @NonNull final T objectData, final @MapObjectType int type, final int id, final int zIndex) |
|
| MapObject (final Parcel in) |
|
MapObject in the shape of a route that can be displayed on a map. In order to display the route object on the map, the route object needs to be added to an com.sygic.sdk.map.MapView by calling com.sygic.sdk.map.MapView#addMapObject(MapObject)
◆ MapRoute()
com.sygic.sdk.map.object.MapRoute.MapRoute |
( |
final Parcel |
in | ) |
|
|
protected |
◆ from()
static RouteData.Builder com.sygic.sdk.map.object.MapRoute.from |
( |
final @NonNull Route |
route | ) |
|
|
static |
Returns a builder able to create a route instance
By default the route is constructed with MapRoute.RouteType#Primary type
- Parameters
-
Route | Data describing the route |
- Returns
- Builder for a MapRoute class
◆ toString()
String com.sygic.sdk.map.object.MapRoute.toString |
( |
| ) |
|
◆ CREATOR
final Creator<MapRoute> com.sygic.sdk.map.object.MapRoute.CREATOR |
|
static |
Initial value:= new Creator<MapRoute>() {
@Override
public MapRoute createFromParcel(final Parcel source) {
return new MapRoute(source);
}
@Override
public MapRoute[] newArray(final int size) {
return new MapRoute[size];
}
}
The documentation for this class was generated from the following file: