Device Orientation Events
E856232
Device Orientation Events is a web API that lets web applications access sensor data about a device’s physical orientation and motion, enabling features like tilt-based controls and augmented reality experiences.
Observed surface forms (1)
| Surface form | Occurrences |
|---|---|
| Device Orientation API | 1 |
Statements (49)
| Predicate | Object |
|---|---|
| instanceOf |
Web API specification
ⓘ
browser feature ⓘ |
| accessedVia | addEventListener in JavaScript ⓘ |
| apiStyle | event-driven API ⓘ |
| coordinateSystem |
Earth frame
ⓘ
device frame ⓘ |
| defines |
acceleration data
ⓘ
accelerationIncludingGravity data ⓘ alpha beta gamma orientation angles ⓘ rotationRate data ⓘ |
| documentedAt | MDN Web Docs NERFINISHED ⓘ |
| eventType |
devicemotion
ⓘ
deviceorientation ⓘ deviceorientationabsolute ⓘ |
| exposedIn | Window interface NERFINISHED ⓘ |
| exposes |
absolute orientation flag
ⓘ
interval property for motion events ⓘ |
| hasEventTarget | window object ⓘ |
| hasIssue |
fingerprinting risks
ⓘ
inconsistent implementation across browsers ⓘ privacy concerns ⓘ |
| partOf | Web Platform NERFINISHED ⓘ |
| propertyOf | Navigator.hardwareConcurrency is unrelated ⓘ |
| provides |
devicemotion event
ⓘ
deviceorientation event ⓘ deviceorientationabsolute event ⓘ |
| relatedTo |
DeviceMotionEvent interface
NERFINISHED
ⓘ
DeviceOrientationEvent interface NERFINISHED ⓘ Generic Sensor API NERFINISHED ⓘ Screen Orientation API NERFINISHED ⓘ |
| requires |
accelerometer
ⓘ
device sensors ⓘ gyroscope ⓘ magnetometer ⓘ |
| securityModel |
requires user permission in many browsers
ⓘ
subject to secure context requirements in modern browsers ⓘ |
| standardizedBy | W3C NERFINISHED ⓘ |
| status | subject to deprecation discussions for some event types ⓘ |
| supportedBy |
mobile browsers
ⓘ
some desktop browsers ⓘ |
| typicalUseCase |
motion-controlled games
ⓘ
orientation-aware UI layouts ⓘ web-based AR viewers ⓘ |
| usedFor |
accessing device motion data
ⓘ
accessing device orientation data ⓘ augmented reality experiences ⓘ gaming controls ⓘ motion-based user interfaces ⓘ tilt-based controls ⓘ |
Referenced by (3)
Full triples — surface form annotated when it differs from this entity's canonical label.
this entity surface form:
Device Orientation API