AccelerometerEvent(); AccelerometerEvent(EventType evtType, int _idAcc, double _timestamp, double _accelerationX, double _accelerationY, double _accelerationZ);
Initializes AccelerometerEvent to contain information about acceleration along three dimensional axis.
|
Parameters |
Description |
|
EventType evtType |
The type of the event. |
|
int _idAcc |
The id of the event. |
|
double _timestamp |
The timestamp of the accelerometer. |
|
double _accelerationX |
The acceleration value along the x axis. |
|
double _accelerationY |
The acceleration value along the y axis. |
|
double _accelerationZ |
The acceleration value along the z axis. |