Enum LocationIndicator.IndicatorStyle
Package com.here.sdk.mapview
Enum LocationIndicator.IndicatorStyle
- java.lang.Object
-
- java.lang.Enum<LocationIndicator.IndicatorStyle>
-
- com.here.sdk.mapview.LocationIndicator.IndicatorStyle
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LocationIndicator.IndicatorStyle>
- Enclosing class:
- LocationIndicator
public static enum LocationIndicator.IndicatorStyle extends java.lang.Enum<LocationIndicator.IndicatorStyle>
The predefined styles for the location indicator which are pedestrian and navigation mode.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NAVIGATIONThe location is indicated using a triangular green arrow which indicates the direction into which the user is moving.PEDESTRIANThe location is indicated using a green dot with a small arrow indicating the north-up direction of the device.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocationIndicator.IndicatorStylevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LocationIndicator.IndicatorStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PEDESTRIAN
public static final LocationIndicator.IndicatorStyle 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
public static final LocationIndicator.IndicatorStyle 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 Detail
-
values
public static LocationIndicator.IndicatorStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LocationIndicator.IndicatorStyle c : LocationIndicator.IndicatorStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocationIndicator.IndicatorStyle valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-