Events raised by the accelerometer service

interface AccelerometerEvents {
    accelerometerdatachanged: AccelerometerData;
}

Properties

accelerometerdatachanged: AccelerometerData

Accelerometer data changed event