Enum Class Navigation.DeparturePointPriority

java.lang.Object
java.lang.Enum<Navigation.DeparturePointPriority>
com.mapfactor.sdk.navigation.Navigation.DeparturePointPriority
All Implemented Interfaces:
Serializable, Comparable<Navigation.DeparturePointPriority>, Constable
Enclosing interface:
Navigation

public static enum Navigation.DeparturePointPriority extends Enum<Navigation.DeparturePointPriority>
Set choosing navigation departure point priority. Default is GPS_FLP.
Since:
4.12
  • Enum Constant Details

    • GPS_FLP

      public static final Navigation.DeparturePointPriority GPS_FLP
      The navigation start point is determined in this priority: 1) GPS position 2) Android Fused Location Provider If neither is available, wait for a GPS fix.
      Since:
      4.12
    • GPS_FLP_LKP_CDP

      public static final Navigation.DeparturePointPriority GPS_FLP_LKP_CDP
      The navigation start point is determined in this priority: 1) GPS position 2) Android Fused Location Provider 3) last known GPS position 4) current departure point added via setRoutePoint
      Since:
      4.12
    • GPS_FLP_CDP_LKP

      public static final Navigation.DeparturePointPriority GPS_FLP_CDP_LKP
      The navigation start point is determined in this priority: 1) GPS position 2) Android Fused Location Provider 3) current departure point added via setRoutePoint 4) last known GPS position
      Since:
      4.12
  • Method Details

    • values

      public static Navigation.DeparturePointPriority[] 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 Navigation.DeparturePointPriority 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