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

NativeMatcher

class NativeMatcher : Matcher

A wrapper for a native object providing access to the matching algorithms.

Constructors

<init>

NativeMatcher()

A wrapper for a native object providing access to the matching algorithms.

Functions

dispose

fun dispose(): Unit

getNativeHandle

fun getNativeHandle(): Long

isAutoDisposable

fun isAutoDisposable(): Boolean

match

fun match(location: Location): Unit

notifyMatcherListener

fun notifyMatcherListener(result: MatchResult): Unit

Called from C++ to pass matching results.

setDataToMatchAgainst

fun setDataToMatchAgainst(dataProvider: MatchingDataProvider): Unit

Visible only within the module, wrapped around by a factory.

setMatcherListener

fun setMatcherListener(listener: MatcherListener): Unit