LocationIndicator.MarkerType (API Reference)
Package com.here.sdk.mapview
Enum Class LocationIndicator.MarkerType
- All Implemented Interfaces:
Serializable,Comparable<LocationIndicator.MarkerType>,Constable
- Enclosing class:
- LocationIndicator
Enum to identify different types of markers of the location indicator.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionVehicle navigation represented by a green triangular arrow by default.Vehicle navigation in inactive state, represented by a gray triangular arrow by default.Pedestrian navigation represented by a green dot by default.Pedestrian navigation in inactive state, represented by a gray dot by default. -
Method Summary
Modifier and TypeMethodDescriptionstatic LocationIndicator.MarkerTypeReturns the enum constant of this class with the specified name.static LocationIndicator.MarkerType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PEDESTRIAN
Pedestrian navigation represented by a green dot by default.
-
PEDESTRIAN_INACTIVE
Pedestrian navigation in inactive state, represented by a gray dot by default. It is used when the indicator was set to inactive using
LocationIndicator.setActive(boolean)in pedestrian mode. -
NAVIGATION
Vehicle navigation represented by a green triangular arrow by default.
-
NAVIGATION_INACTIVE
Vehicle navigation in inactive state, represented by a gray triangular arrow by default. It is used when the indicator was set to inactive using
LocationIndicator.setActive(boolean)in navigation mode.
-
-
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
-