| [Constructor(optional SensorOptions options), SecureContext, Exposed=Window] | |
| interface Accelerometer : Sensor { | |
| readonly attribute double? x; | |
| readonly attribute double? y; | |
| readonly attribute double? z; | |
| }; | |
| [Constructor(optional SensorOptions options), SecureContext, Exposed=Window] | |
| interface LinearAccelerationSensor : Accelerometer { | |
| }; | |
| [Constructor(optional SensorOptions options), SecureContext, Exposed=Window] | |
| interface GravitySensor : Accelerometer { | |
| }; |