|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SensorObservationDimensions>
org.android.activityminer.model.timeseries.SensorObservationDimensions
public enum SensorObservationDimensions
The dimensions for the sensor data observation from all known sensors.
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 |
|
LATITUDE
The location latitude. |
|
LONGITUDE
The location longitude. |
|
MAGNITUDE
The norm ( sqrt( accx^2 + accy^2 + accz^2) ), respectively the magnitude of acceleration (to ignore the device orientation). |
|
SPEED
The speed over ground from the network location provider. |
|
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 SensorObservationDimensions |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SensorObservationDimensions[] |
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 SensorObservationDimensions MAGNITUDE
public static final SensorObservationDimensions ACCX
public static final SensorObservationDimensions ACCY
public static final SensorObservationDimensions ACCZ
public static final SensorObservationDimensions GX
public static final SensorObservationDimensions GY
public static final SensorObservationDimensions GZ
public static final SensorObservationDimensions HORIZONTAL_MAGNITUDE
public static final SensorObservationDimensions VERTICAL_MAGNITUDE
public static final SensorObservationDimensions LONGITUDE
public static final SensorObservationDimensions LATITUDE
public static final SensorObservationDimensions SPEED
Field Detail |
---|
private final int id
Method Detail |
---|
public static SensorObservationDimensions[] values()
for (SensorObservationDimensions c : SensorObservationDimensions.values()) System.out.println(c);
public static SensorObservationDimensions 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 |