LocationResult

data class LocationResult(val location: GeoPoint?, val error: Error?)

Class for returning the result of the Route.getLocationFromPercentage method.

Constructors

Link copied to clipboard
constructor(location: GeoPoint?, error: Error?)

Properties

Link copied to clipboard
val error: Error?

in case of an error getting the location.

Link copied to clipboard

is the wanted location result. It can be null if there is an error.