OffRoadArrivalDetectionEngineFactory

public enum OffRoadArrivalDetectionEngineFactory

Creates an instance of ArrivalDetectionEngine that confirms whether the driver has reached the final destination for off-road navigation.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Provides default destination arrival distance

    See more

    Declaration

    Swift

    public enum Defaults
  • Creates an instance of ArrivalDetectionEngine that confirms whether the driver has reached the final destination.

    Declaration

    Swift

    public static func create(
        destinationArrivalDistanceThreshold: Measurement<UnitLength> = Defaults
            .destinationArrivalDistanceThreshold
    )
        -> ArrivalDetectionEngine

    Parameters

    destinationArrivalDistanceThreshold

    Distance from destination which triggers a change in [DestinationArrivalStatus].

    Return Value

    Returns an instance of OffRoadArrivalDetectionEngine .