BetterProposalAcceptanceMode

public enum BetterProposalAcceptanceMode

Specifies how to handle better route proposals

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Replan proposals are applied automatically when they are considered better.

    Declaration

    Swift

    case automatic
  • Better route proposal replans are proposed within the NavigationRouteObserver.

    Declaration

    Swift

    case manual
  • Proposals triggered because the active route is blocked are accepted automatically. A route is considered unreachable if it contains a blockage or, in the case of EV navigation, there is a significant risk of running out of battery charge. For all other proposals, the integrator can decide whether the proposed route should be applied with Navigation.acceptBetterProposal or ignored.

    Declaration

    Swift

    case unreachableOnly

Public

  • The default better route proposal acceptance mode

    Declaration

    Swift

    public static let `default`: BetterProposalAcceptanceMode