LocationIndicator.IndicatorStyle (API Reference)
Package com.here.sdk.mapview
Enum Class LocationIndicator.IndicatorStyle
java.lang.Object
java.lang.Enum<LocationIndicator.IndicatorStyle>
com.here.sdk.mapview.LocationIndicator.IndicatorStyle
- All Implemented Interfaces:
Serializable,Comparable<LocationIndicator.IndicatorStyle>,Constable
- Enclosing class:
- LocationIndicator
The predefined styles for the location indicator which are pedestrian and navigation mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe location is indicated using a triangular green arrow which indicates the direction into which the user is moving.The location is indicated using a green dot with a small arrow indicating the north-up direction of the device. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static LocationIndicator.IndicatorStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PEDESTRIAN
The location is indicated using a green dot with a small arrow indicating the north-up direction of the device. If the position is outdated it is shown in grey. This should be preferred for pedestrian use cases.
-
NAVIGATION
The location is indicated using a triangular green arrow which indicates the direction into which the user is moving. This should be preferred for vehicle navigation use cases.
-
-
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
-