|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AccSensorObservationDimensions>
org.android.activityminer.model.timeseries.AccSensorObservationDimensions
public enum AccSensorObservationDimensions
The dimensions of a accelerometer sensor observation.
Enum Constant Summary | |
---|---|
ACCX
The x-axis acceleration |
|
ACCY
The y-axis acceleration |
|
ACCZ
The z-axis acceleration |
|
GX
The force of gravity for axis x |
|
GY
The force of gravity for axis y |
|
GZ
The force of gravity for axis z |
|
HORIZONTAL_MAGNITUDE
The magnitude of horizontal acceleration |
|
MAGNITUDE
The norm ( sqrt( accx^2 + accy^2 + accz^2) ), respectively the magnitude of acceleration (to ignore the device orientation). |
|
VERTICAL_MAGNITUDE
The magnitude of vertical acceleration |
Field Summary | |
---|---|
private int |
id
The unique dimension identifier |
Method Summary | |
---|---|
int |
getId()
Getter for the unique dimension identifier |
static AccSensorObservationDimensions |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AccSensorObservationDimensions[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AccSensorObservationDimensions MAGNITUDE
public static final AccSensorObservationDimensions ACCX
public static final AccSensorObservationDimensions ACCY
public static final AccSensorObservationDimensions ACCZ
public static final AccSensorObservationDimensions GX
public static final AccSensorObservationDimensions GY
public static final AccSensorObservationDimensions GZ
public static final AccSensorObservationDimensions HORIZONTAL_MAGNITUDE
public static final AccSensorObservationDimensions VERTICAL_MAGNITUDE
Field Detail |
---|
private final int id
Method Detail |
---|
public static AccSensorObservationDimensions[] values()
for (AccSensorObservationDimensions c : AccSensorObservationDimensions.values()) System.out.println(c);
public static AccSensorObservationDimensions valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getId()
Dimensions
getId
in interface Dimensions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |