|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.android.activityminer.model.devices.AccelerometerData
public final class AccelerometerData
Data structure for raw accelerometer data.
| Field Summary | |
|---|---|
double |
norm
The magnitude (norm) of acceleration |
long |
ts
The original time stamp |
double[] |
values
The acceleration values |
| Constructor Summary | |
|---|---|
AccelerometerData(AccelerometerData sample)
Copy-Constructor |
|
AccelerometerData(double[] data,
long ts)
Constructor |
|
AccelerometerData(Double[] data,
long ts)
Constructor |
|
| Method Summary | |
|---|---|
void |
setTs(long ts)
Setter for the time stamp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final double[] values
public final double norm
public long ts
| Constructor Detail |
|---|
public AccelerometerData(Double[] data,
long ts)
data - the accelerometer datats - the original time stamp
public AccelerometerData(double[] data,
long ts)
data - the accelerometer datats - the original time stamppublic AccelerometerData(AccelerometerData sample)
sample - the sample to create from| Method Detail |
|---|
public final void setTs(long ts)
ts - the new time stamp
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||