Class WaypointEvent


@Deprecated(forRemoval=true) public class WaypointEvent extends ClientEvent
Deprecated, for removal: This API element is subject to removal in a future version.
this event will be deleted, use same event in WaypointEvent Switch your registration to use CommonEventRegistry.WAYPOINT_EVENT
This event handles all the CRUD operations of a waypoints.
  • Field Details

    • waypoint

      public final Waypoint waypoint
      Deprecated, for removal: This API element is subject to removal in a future version.
    • context

      public final WaypointEvent.Context context
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • WaypointEvent

      public WaypointEvent(Waypoint waypoint, WaypointEvent.Context context)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getWaypoint

      public Waypoint getWaypoint()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the waypoint that the event is handling.
      Returns:
      - The waypoint.
    • getContext

      public WaypointEvent.Context getContext()
      Deprecated, for removal: This API element is subject to removal in a future version.
      The event context.
      Returns:
      - The context.