Package com.mapfactor.sdk.navigation
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 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.The navigation start point is determined in this priority: 1) GPS position 2) Android Fused Location Provider 3) current departure point added viasetRoutePoint4) last known GPS positionThe 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 viasetRoutePoint -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static Navigation.DeparturePointPriority[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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 viasetRoutePoint- Since:
- 4.12
-
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 viasetRoutePoint4) last known GPS position- Since:
- 4.12
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-