Enum Class MapError

java.lang.Object
java.lang.Enum<MapError>
com.here.sdk.mapview.MapError
All Implemented Interfaces:
Serializable, Comparable<MapError>, Constable

public enum MapError extends Enum<MapError>

Represents various errors that could occur from map related operations.

  • Enum Constant Details

    • OPERATION_IN_PROGRESS

      public static final MapError OPERATION_IN_PROGRESS

      The previous operation is not completed.

    • INVALID_SCENE

      public static final MapError INVALID_SCENE

      Map configuration path or content is invalid.

    • INVALID_STATE

      public static final MapError INVALID_STATE

      Object is in an invalid state.

    • INVALID_RENDER_TARGET

      public static final MapError INVALID_RENDER_TARGET

      Provided render target is invalid.

  • Method Details

    • values

      public static MapError[] 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 MapError 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