TripWaypoint.WaypointType

  • TripWaypoint.WaypointType is an annotation that defines the role of a waypoint in a trip route.

  • It includes constants like PICKUP, DROPOFF, INTERMEDIATE_DESTINATION, and UNKNOWN to specify the waypoint's purpose.

  • Each constant has a corresponding integer value for easy identification.

  • It inherits methods from the java.lang.annotation.Annotation interface for annotation-related operations.

public static abstract @interface TripWaypoint.WaypointType implements Annotation

Constant describing the role a waypoint plays on a trip route.

Constant Summary

int DROPOFF
int INTERMEDIATE_DESTINATION
int PICKUP
int UNKNOWN

Inherited Method Summary

Constants

public static final int DROPOFF

Constant Value: 2

public static final int INTERMEDIATE_DESTINATION

Constant Value: 3

public static final int PICKUP

Constant Value: 1

public static final int UNKNOWN

Constant Value: 0