Enum MapCameraKeyframeTrack.InstantiationErrorCode
Package com.here.sdk.mapview
Enum MapCameraKeyframeTrack.InstantiationErrorCode
- java.lang.Object
-
- java.lang.Enum<MapCameraKeyframeTrack.InstantiationErrorCode>
-
- com.here.sdk.mapview.MapCameraKeyframeTrack.InstantiationErrorCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MapCameraKeyframeTrack.InstantiationErrorCode>
- Enclosing class:
- MapCameraKeyframeTrack
public static enum MapCameraKeyframeTrack.InstantiationErrorCode extends java.lang.Enum<MapCameraKeyframeTrack.InstantiationErrorCode>
Describes a reason for failing to create a MapCameraKeyframeTrack.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMPTY_KEYFRAME_LISTList of keyframes is empty.INVALID_KEYFRAME_DURATIONInvalid keyframe duration value.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapCameraKeyframeTrack.InstantiationErrorCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MapCameraKeyframeTrack.InstantiationErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMPTY_KEYFRAME_LIST
public static final MapCameraKeyframeTrack.InstantiationErrorCode EMPTY_KEYFRAME_LIST
List of keyframes is empty.
-
INVALID_KEYFRAME_DURATION
public static final MapCameraKeyframeTrack.InstantiationErrorCode INVALID_KEYFRAME_DURATION
Invalid keyframe duration value. This exception is thrown when the first keyframe duration in a list of keyframes is not equal to 0.
-
-
Method Detail
-
values
public static MapCameraKeyframeTrack.InstantiationErrorCode[] 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 (MapCameraKeyframeTrack.InstantiationErrorCode c : MapCameraKeyframeTrack.InstantiationErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapCameraKeyframeTrack.InstantiationErrorCode 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 namejava.lang.NullPointerException- if the argument is null
-
-