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 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,     waypointArrivalDistanceThreshold: Distance = DEFAULT_WAYPOINT_ARRIVAL_DISTANCE_THRESHOLD) : ArrivalDetectionEngine

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

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

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