Interface Route
com.yandex.mapkit.masstransit
public interface Route
Contains information about a route constructed by the mass transit router.
Methods
Polyline | getGeometry() | Polyline of a whole route. |
RouteMetadata | getMetadata() | General route information. |
List< Section > | getSections() | Vector of sections of the route. |
UriObjectMetadata | getUriMetadata() | Route URI, which can be used together with MasstransitRouter to fetch additional information about the route or can be bookmarked for future reference. |
Polyline | getGeometry() | Polyline of a whole route. |
RouteMetadata | getMetadata() | General route information. |
List< Section > | getSections() | Vector of sections of the route. |
UriObjectMetadata | getUriMetadata() | Route URI, which can be used together with MasstransitRouter to fetch additional information about the route or can be bookmarked for future reference. |
Method Detail
getGeometry
public Polyline getGeometry ()
Polyline of a whole route.
getMetadata
public RouteMetadata getMetadata ()
General route information.
getSections
public List< Section > getSections ()
Vector of sections of the route.
getUriMetadata
public UriObjectMetadata getUriMetadata ()
Route URI, which can be used together with MasstransitRouter to fetch additional information about the route or can be bookmarked for future reference.