Enum Class Easing.InstantiationErrorCode

java.lang.Object
java.lang.Enum<Easing.InstantiationErrorCode>
com.here.sdk.animation.Easing.InstantiationErrorCode
All Implemented Interfaces:
Serializable, Comparable<Easing.InstantiationErrorCode>, Constable
Enclosing class:
Easing

public static enum Easing.InstantiationErrorCode extends Enum<Easing.InstantiationErrorCode>

Describes a reason for failing to create an Easing.

  • Enum Constant Details

    • SAMPLED_DATA_POINT_COUNT_TOO_SMALL

      public static final Easing.InstantiationErrorCode SAMPLED_DATA_POINT_COUNT_TOO_SMALL

      Number of sampled data points in the list that defines an easing function is too small (i.e. less than 2).

    • SAMPLED_DATA_POINTS_FIRST_X_VALUE_INVALID

      public static final Easing.InstantiationErrorCode SAMPLED_DATA_POINTS_FIRST_X_VALUE_INVALID

      Invalid first value of X in the list of sampled data points that define an easing function. First value of X must be 0.

    • SAMPLED_DATA_POINTS_LAST_X_VALUE_INVALID

      public static final Easing.InstantiationErrorCode SAMPLED_DATA_POINTS_LAST_X_VALUE_INVALID

      Invalid last value of X in the list of sampled data points that define an easing function. Last value of X must be 1.

    • SAMPLED_DATA_X_VALUE_OUT_OF_RANGE

      public static final Easing.InstantiationErrorCode SAMPLED_DATA_X_VALUE_OUT_OF_RANGE

      Sampled data point X values that define an easing function are out of range [0, 1].

    • SAMPLED_DATA_X_VALUES_NON_MONOTONIC

      public static final Easing.InstantiationErrorCode SAMPLED_DATA_X_VALUES_NON_MONOTONIC

      Sampled data point X values in the list that defines an easing function don't increase monotonically.

  • Method Details

    • values

      public static Easing.InstantiationErrorCode[] 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 Easing.InstantiationErrorCode 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