Enum Class MilestoneType

java.lang.Object
java.lang.Enum<MilestoneType>
com.here.sdk.navigation.MilestoneType
All Implemented Interfaces:
Serializable, Comparable<MilestoneType>, Constable

public enum MilestoneType extends Enum<MilestoneType>

This enum represents the type of the Milestone.

  • Enum Constant Details

    • STOPOVER

      public static final MilestoneType STOPOVER

      A Milestone that corresponds to stopover waypoint.

    • PASSTHROUGH

      public static final MilestoneType PASSTHROUGH

      A Milestone that corresponds to passthrough waypoint.

  • Method Details

    • values

      public static MilestoneType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MilestoneType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null