Limited Availability
Sensors
id: orientation-sensor
Orientation Sensor
The
AbsoluteOrientationSensor and RelativeOrientationSensor APIs describe the physical orientation of a device in three-dimensional space, either in relation to the Earth's coordinate system or in relation to the device's own orientation, respectively.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
67
Supported
Mozilla Firefox
—
Unsupported
Apple Safari
—
Unsupported
Microsoft Edge
79
Supported
Mobile Browser Engine Support
Chrome Android
67
Firefox Android
—
Safari iOS
—
Specifications and References
MDN Browser Compat Data Keys:
api.AbsoluteOrientationSensor ↗
api.AbsoluteOrientationSensor.AbsoluteOrientationSensor ↗
api.OrientationSensor ↗
api.OrientationSensor.populateMatrix ↗
api.OrientationSensor.quaternion ↗
api.RelativeOrientationSensor ↗
api.RelativeOrientationSensor.RelativeOrientationSensor ↗
api.Sensor ↗
api.Sensor.activate_event ↗
api.Sensor.activated ↗
api.Sensor.error_event ↗
api.Sensor.hasReading ↗
api.Sensor.reading_event ↗
api.Sensor.start ↗
api.Sensor.stop ↗
api.Sensor.timestamp ↗
api.SensorErrorEvent ↗
api.SensorErrorEvent.SensorErrorEvent ↗
api.SensorErrorEvent.error ↗