Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

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,