Easing.InstantiationErrorCode (API Reference)
Package com.here.sdk.animation
Enum Class Easing.InstantiationErrorCode
- All Implemented Interfaces:
Serializable,Comparable<Easing.InstantiationErrorCode>,Constable
- Enclosing class:
- Easing
Describes a reason for failing to create an Easing.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNumber of sampled data points in the list that defines an easing function is too small (i.e.Invalid first value of X in the list of sampled data points that define an easing function.Invalid last value of X in the list of sampled data points that define an easing function.Sampled data point X values that define an easing function are out of range [0, 1].Sampled data point X values in the list that defines an easing function don't increase monotonically. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static Easing.InstantiationErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
Sampled data point X values that define an easing function are out of range [0, 1].
-
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
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
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 nameNullPointerException- if the argument is null
-