public class Acceleration extends APIBean
| Constructor and Description |
|---|
Acceleration()
Default constructor
|
Acceleration(double x,
double y,
double z,
long timestamp)
Constructor with fields
|
| Modifier and Type | Method and Description |
|---|---|
long |
getTimestamp()
Timestamp Getter
|
double |
getX()
X Coordinate Getter
|
double |
getY()
Y Coordinate Getter
|
double |
getZ()
Z Coordinate Getter
|
void |
setTimestamp(long timestamp)
Timestamp Setter
|
void |
setX(double x)
X Coordinate Setter
|
void |
setY(double y)
Y Coordinate Setter
|
void |
setZ(double z)
Z Coordinate Setter
|
public Acceleration()
public Acceleration(double x,
double y,
double z,
long timestamp)
x - X Coordinatey - Y Coordinatez - Z Coordinatetimestamp - Timestamppublic long getTimestamp()
public void setTimestamp(long timestamp)
timestamp - Timestamppublic double getX()
public void setX(double x)
x - X-axis component of the acceleration.public double getY()
public void setY(double y)
y - Y-axis component of the acceleration.public double getZ()
public void setZ(double z)
z - Z Coordinate