State

public enum State

Represents the various states of the NavigationStackView.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • State when arriving at the destination.

    Declaration

    Swift

    case arrival(destination: String)

    Parameters

    destination

    The name of the destination.

  • State when arriving at a waypoint.

    Declaration

    Swift

    case waypointArrival
  • State when an instruction is being given.

    Declaration

    Swift

    case instruction
  • State when a confirmation is required.

    Declaration

    Swift

    case confirmation
  • State when in free drive mode.

    Declaration

    Swift

    case freedrive
  • State when an error has occurred.

    Declaration

    Swift

    case error(title: String, message: String)

    Parameters

    title

    The title of the error.

    message

    The message describing the error.