Enum LocationIndicator.IndicatorStyle

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NAVIGATION
      The location is indicated using a triangular green arrow which indicates the direction into which the user is moving.
      PEDESTRIAN
      The 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.IndicatorStyle valueOf​(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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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 name
        java.lang.NullPointerException - if the argument is null