WebIDLpedia

LinearAccelerationSensor interface

Definition

Accelerometer defines LinearAccelerationSensor



[SecureContext, Exposed=Window]
interface LinearAccelerationSensor : Accelerometer {
  constructor(optional AccelerometerSensorOptions options = {});
};

Methods and attributes that return objects implementing LinearAccelerationSensor