NavigationEvent

public enum NavigationEvent

Represents the NavigationEvent published by TomTomNavigation\eventPublisher.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Represents the active route changed event.

    See more

    Declaration

    Swift

    public enum ActiveRouteChangeEvent
  • Represents the active route changed.

    Declaration

    Swift

    case activeRouteChangeEvent(ActiveRouteChangeEvent)
  • Represents the destination arrival event to notify when the destination has been reached.

    See more

    Declaration

    Swift

    public enum DestinationArrivalEvent
  • Represents the arrival at a destination.

    Declaration

    Swift

    case destinationArrivalEvent(DestinationArrivalEvent)
  • Represents guidance update events.

    The enumeration is a parameter of TomTomSDKNavigation/NavigationEvent/guidanceUpdateEvent(_:) which is called when guidance update occurs.

    See more

    Declaration

    Swift

    public enum GuidanceUpdateEvent
  • Represents the event of guidance update.

    Declaration

    Swift

    case guidanceUpdateEvent(GuidanceUpdateEvent)

    Parameters

    guidanceEvent

    Describes a guidance event indicating the reason of the event.

  • Represents the horizon events.

    See more

    Declaration

    Swift

    public enum HorizonEvent
  • Represents the horizon event.

    Declaration

    Swift

    case horizonEvent(HorizonEvent)
  • Represents lane guidance update events.

    The enumeration is a parameter of TomTomSDKNavigation/NavigationEvent/laneGuidanceUpdateEvent(_:) which is called when lane guidance update occurs.

    See more

    Declaration

    Swift

    public enum LaneGuidanceUpdateEvent
  • Represents the event of lane guidance update.

    Declaration

    Swift

    case laneGuidanceUpdateEvent(LaneGuidanceUpdateEvent)

    Parameters

    laneGuidanceEvent

    Describes a lane guidance event indicating the reason of the event.

  • Represents the language change event.

    See more

    Declaration

    Swift

    public enum LanguageChangeEvent
  • Represents the language change.

    Declaration

    Swift

    case languageChangeEvent(LanguageChangeEvent)
  • Represents the location context event.

    See more

    Declaration

    Swift

    public enum LocationContextEvent
  • Represents the location context.

    Declaration

    Swift

    case locationContextEvent(LocationContextEvent)
  • Represents the map matching event.

    See more

    Declaration

    Swift

    public enum MapMatchingEvent
  • Represents the map matching.

    Declaration

    Swift

    case mapMatchingEvent(MapMatchingEvent)
  • Represents the state of navigation.

    See more

    Declaration

    Swift

    public enum NavigationStateChangeEvent
  • Represents the state of navigation.

    Declaration

    Swift

    case navigationStateChangeEvent(NavigationStateChangeEvent)
  • Represents the progress update event.

    See more

    Declaration

    Swift

    public enum ProgressUpdateEvent
  • Represents the progress update.

    Declaration

    Swift

    case progressUpdateEvent(ProgressUpdateEvent)
  • Represents the route added event.

    See more

    Declaration

    Swift

    public enum RouteAddEvent
  • Represents the route added.

    Declaration

    Swift

    case routeAddEvent(RouteAddEvent)
  • Represents the route events.

    Declaration

    Swift

    public enum RouteEvent
  • Represents the route.

    Declaration

    Swift

    case routeEvent(RouteEvent)
  • Represents the route removed event.

    See more

    Declaration

    Swift

    public enum RouteRemoveEvent
  • Represents the route removed.

    Declaration

    Swift

    case routeRemoveEvent(RouteRemoveEvent)
  • Represents the route tracking state update event.

    See more

    Declaration

    Swift

    public enum RouteTrackingStateUpdateEvent
  • Represents the route tracking state update.

    Declaration

    Swift

    case routeTrackingStateUpdateEvent(RouteTrackingStateUpdateEvent)
  • Represents the route update event.

    See more

    Declaration

    Swift

    public enum RouteUpdateEvent
  • Represents the active route updated.

    Declaration

    Swift

    case routeUpdateEvent(RouteUpdateEvent)
  • Represents waypoint arrival events to notify when a waypoint has been reached or departed from.

    See more

    Declaration

    Swift

    public enum WaypointArrivalEvent
  • A NavigationEvent representing the arrival at a waypoint.

    Declaration

    Swift

    case waypointArrivalEvent(WaypointArrivalEvent)