Class Acceleration
Defined in: phonegap.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Acceleration(x, y, z)
This class contains acceleration information
|
Field Attributes | Field Name and Description |
---|---|
The time that the acceleration was obtained.
|
|
The force applied by the device in the x-axis.
|
|
The force applied by the device in the y-axis.
|
|
The force applied by the device in the z-axis.
|
Class Detail
Acceleration(x, y, z)
This class contains acceleration information
- Parameters:
- {Number} x
- The force applied by the device in the x-axis.
- {Number} y
- The force applied by the device in the y-axis.
- {Number} z
- The force applied by the device in the z-axis.
Field Detail
timestamp
The time that the acceleration was obtained.
x
The force applied by the device in the x-axis.
y
The force applied by the device in the y-axis.
z
The force applied by the device in the z-axis.