Data received from the accelerometer

interface AccelerometerData {
    x: number;
    y: number;
    z: number;
}

Properties

x y z

Properties

x: number

Force in direction X

y: number

Force in direction Y

z: number

Force in direction Z