WaypointArrivalEvent

public enum WaypointArrivalEvent

Represents waypoint arrival events to notify when a waypoint has been reached or departed from.

  • Indicates that the destination waypoint has been reached.

    Declaration

    Swift

    case didArriveAtWaypoint(routeStop: RouteStop, route: Route)

    Parameters

    routeStop

    The specific waypoint that has been reached.

    route

    The route containing the waypoint.

  • Indicates that the departure from a waypoint has occurred.

    Declaration

    Swift

    case didDepartFromWaypoint(routeStop: RouteStop, route: Route)

    Parameters

    routeStop

    The specific waypoint that has been departed from.

    route

    The route containing the waypoint.