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

public static enum LocationIndicator.IndicatorStyle extends Enum<LocationIndicator.IndicatorStyle>

The predefined styles for the location indicator which are pedestrian and navigation mode.

  • Enum Constant Details

    • 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.

  • Method Details

    • values

      public static LocationIndicator.IndicatorStyle[] 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 LocationIndicator.IndicatorStyle 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