Enum PostureEvent.PostureEventType
- java.lang.Object
-
- java.lang.Enum<PostureEvent.PostureEventType>
-
- com.trx.neon.api.neon.model.events.PostureEvent.PostureEventType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PostureEvent.PostureEventType>
- Enclosing class:
- PostureEvent
public static enum PostureEvent.PostureEventType extends java.lang.Enum<PostureEvent.PostureEventType>
Postures that the user can take on.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ON_BACK
ON_FRONT
ON_SIDE_LEFT
ON_SIDE_RIGHT
UNKNOWN
UPRIGHT
UPSIDE_DOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PostureEvent.PostureEventType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PostureEvent.PostureEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final PostureEvent.PostureEventType UNKNOWN
-
UPRIGHT
public static final PostureEvent.PostureEventType UPRIGHT
-
ON_BACK
public static final PostureEvent.PostureEventType ON_BACK
-
ON_FRONT
public static final PostureEvent.PostureEventType ON_FRONT
-
ON_SIDE_LEFT
public static final PostureEvent.PostureEventType ON_SIDE_LEFT
-
ON_SIDE_RIGHT
public static final PostureEvent.PostureEventType ON_SIDE_RIGHT
-
UPSIDE_DOWN
public static final PostureEvent.PostureEventType UPSIDE_DOWN
-
-
Method Detail
-
values
public static PostureEvent.PostureEventType[] 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 (PostureEvent.PostureEventType c : PostureEvent.PostureEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PostureEvent.PostureEventType 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
-
-