RouteResult

open class RouteResult(val route: Route?, val error: Error?, computeTime: TimeMeasurement)

Represents a result of the ComputeRouteListener when computing routes

Inheritors

Constructors

Link copied to clipboard
constructor(route: Route?, error: Error?, computeTime: TimeMeasurement)

Properties

Link copied to clipboard
val error: Error?

an Error explaining what went wrong for this route's computation (can occur even if route is not null)

Link copied to clipboard
val route: Route?

a Route that can be null if an error occurred

Functions

Link copied to clipboard
open fun toJson(): String