virtual void OnAccelerometerUpdate(int idAcc, double timestamp, double accelerationX, double accelerationY, double accelerationZ);
OnAccelerometer is called to notify application about updates from accelerometer sensor, which indicates movement of the device.
|
Parameters |
Description |
|
int idAcc |
Id of the accelerometer event. |
|
double timestamp |
The timestamp of the accelerometer. |
|
double accelerationX |
The acceleration value in Gs (9.8m/sec/sec) along the x-axis. |
|
double accelerationY |
The acceleration value in Gs (9.8m/sec/sec) along the y-axis. |
|
double accelerationZ |
The acceleration value in Gs (9.8m/sec/sec) along the z-axis. |