OnlineRangeCalculator

Default TomTom implementation of the entry point to perform range calculation action based on TomTom's Routing APIs.

Important: This is a Public Preview API. It may be changed or removed at any time.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Synchronously calculates a range using the provided RangeCalculationOptions.

Asynchronously calculates a range using the provided RangeCalculationOptions object. If the operation succeeds, Callback.onSuccess is called for the callback with a RangeCalculationResult. Otherwise, Callback.onFailure is called with a RangeCalculationFailure.

Link copied to clipboard
open override fun close()

Cancels all pending requests and releases all resources used by this instance. After disposing, the result of calling any of the other methods is undefined.