ru.dgis.sdk.navigation.RouteInfo | Android SDK | 2GIS Documentation
Android SDK

RouteInfo

Route description with maneuvers.

RouteInfo(
	route: Route,
	routeBuildOptions: RouteBuildOptions?,
	external: Boolean = false
)

Route description with maneuvers.

Parameters
route
routeBuildOptions
external
Returns
Properties

Route.

Route building parameters in the navigator. A null value means that the route has no finish point. In this case, based on the road graph and user movement parameters, a section of the road on which the user is likely to move is calculated and returned as a route in the route field. Therefore, such a "route" cannot contain instructions, and the last point in this "route" is not a destination where the user is moving to, but just a point where the navigator managed to predict the user's movement. Where they will go next is unknown. This navigation mode is called free roam.

Route source. True - the route is passed to the navigator externally in the start method. False - the route is generated by the navigator.