Package com.tomtom.sdk.navigation.arrival

Types

Link copied to clipboard
interface ArrivalDetectionEngine

Engine which decides whether the route destination has been reached.

Link copied to clipboard
data class ArrivalDetectionEngineOptions(val destinationArrivalDistanceThreshold: Distance = Distance.meters(value = 10.0), val destinationArrivalTimeThreshold: Duration = 10.seconds)

Contains options for the engine configuration.

Link copied to clipboard
data class DestinationArrivalStatus(val hasReachedDestination: Boolean)

Class containing result of checking if route destination has been reached.

Link copied to clipboard
class TomTomArrivalDetectionEngine(destinationArrivalDistanceThreshold: Distance = DEFAULT_DESTINATION_ARRIVAL_DISTANCE_THRESHOLD, destinationArrivalTimeThreshold: Duration = DEFAULT_ARRIVAL_TIME_THRESHOLD) : ArrivalDetectionEngine

ArrivalDetectionEngine implementation which takes into account current distance along the route and estimated time till arrival.

Link copied to clipboard
object TomTomArrivalDetectionEngineFactory

Factory to create a TomTomArrivalDetectionEngine.

Link copied to clipboard
data class WaypointArrivalStatus(val hasReachedWaypoint: Boolean, val waypoint: Waypoint)

Class containing result of checking if a waypoint has been reached.