OffRoadArrivalDetectionEngineFactory

Factory for creating an off-road ArrivalDetectionEngine instance.

Off-road arrival detection engine detects when the driver has reached their final destination during off-road navigation.

Example of creating an OffRoadArrivalDetectionEngine with the default value for destinationArrivalDistanceThreshold:

val offRoadArrivalDetectionEngine = OffRoadArrivalDetectionEngineFactory.create()

Example of creating an OffRoadArrivalDetectionEngine with a specific value for destinationArrivalDistanceThreshold:

val offRoadArrivalDetectionEngine = OffRoadArrivalDetectionEngineFactory.create(Distance.meters(5))

To create a default off-road TomTomNavigation, check the OffRoadTomTomNavigationFactory class.

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

Functions

Link copied to clipboard
fun create(destinationArrivalDistanceThreshold: Distance = DEFAULT_DESTINATION_ARRIVAL_THRESHOLD): ArrivalDetectionEngine

Creates an instance of ArrivalDetectionEngine.