sdk-maps-driving-extensions / com.tomtom.online.sdk.map.driving / MatchResult

MatchResult

abstract class MatchResult

Base class that contains matcheing results.

Constructors

<init>

MatchResult()

Base class that contains matcheing results.

Properties

isMatched

var isMatched: Boolean

Indicates whether the location was correctly matched or not. This flag can be used to change the chevron color to inform a user that the matched location can be considered as trusty.

matchedLocation

lateinit var matchedLocation: Location

Matched location.

originalLocation

lateinit var originalLocation: Location

Original location, from GPS.

Functions

accept

abstract fun accept(visitor: MatchResultVisitor): Unit

Inheritors

MapMatchResult

class MapMatchResult : MatchResult

Class that contains the map matcher result.

RouteMatchResult

class RouteMatchResult : MatchResult

The Route matcher result.