MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

nsIAccelerometerUpdate

Replaced by nsIDeviceMotionUpdate
1.0
28
Introduced
Gecko 2.0
Obsolete
Gecko 6.0
Inherits from: nsIAccelerometer Last changed in Gecko 5.0 (Firefox 5.0 / Thunderbird 5.0 / SeaMonkey 2.2)

This method is only used in content tabs to receive nsIAcceleration data from the chrome process.

Method overview

void accelerationChanged(in double x, in double y, in double z);

Methods

accelerationChanged()

void accelerationChanged(
  in double x,
  in double y,
  in double z
);
Parameters
x
y
z
The coordinates of the nsIAcceleration data.

Document Tags and Contributors

 Contributors to this page: Sheppy, Neil, trevorh
 Last updated by: Sheppy,