Interface Acceleration

Contains Accelerometer data captured at a specific point in time. Acceleration values include the effect of gravity (9.81 m/s^2), so that when a device lies flat and facing up, x, y, and z values returned should be 0, 0, and 9.81.

Index

Properties

Properties

public timestamp: number

Creation timestamp in milliseconds.

public x: number

Amount of acceleration on the x-axis. (in m/s^2)

public y: number

Amount of acceleration on the y-axis. (in m/s^2)

public z: number

Amount of acceleration on the z-axis. (in m/s^2)