PercentagePositionResult

data class PercentagePositionResult(val positionInPercent: Double?, val error: Error?)

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

Constructors

Link copied to clipboard
constructor(positionInPercent: Double?, error: Error?)

Properties

Link copied to clipboard
val error: Error?

in case of an error getting the position.

Link copied to clipboard

is the wanted position result expressed in percentage. It can be null if there is an error.