bindings/accelerometer library
Accelerometer
Classes
- Accelerometer
-
Experimental: This is an experimental technologyCheck the
Browser compatibility table carefully before using this in
production.
The interface of the Sensor APIs provides on each reading the
acceleration applied to the device along all three axes.
To use this sensor, the user must grant permission to the
'accelerometer'
, device sensor through the Permissions API. If a feature policy blocks the use of a feature, it is because your code is inconsistent with the policies set on your server. This is not something that would ever be shown to a user. TheFeature-Policy
HTTP header article contains implementation instructions. - AccelerometerReadingValues
- AccelerometerSensorOptions
- GravityReadingValues
- GravitySensor
-
The interface of the Sensor APIs provides on each reading the
gravity applied to the device along all three axes.
To use this sensor, the user must grant permission to the
'accelerometer'
device sensor through the Permissions API. - LinearAccelerationReadingValues
- LinearAccelerationSensor
-
The interface of the Sensor APIs provides on each reading the
acceleration applied to the device along all three axes, but
without the contribution of gravity.
To use this sensor, the user must grant permission to the
'accelerometer'
device sensor through the Permissions API. If a feature policy blocks use of a feature it is because your code is inconsistent with the policies set on your server. This is not something that would ever be shown to a user. TheFeature-Policy
HTTP header article contains implementation instructions.