Skip to content

Commit

Permalink
Fix wrong description for AFRAME.utils.device.checkHeadsetConnected()…
Browse files Browse the repository at this point in the history
… function (#5636)
  • Loading branch information
vincentfretin authored Jan 23, 2025
1 parent 05dccae commit a772832
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/core/utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ diff({a: 1, b: 2, c: 3}, {b: 2, c: 4})

### `AFRAME.utils.device.checkHeadsetConnected ()`

Checks if a VR headset is connected by looking for orientation data. Returns a `boolean`.
Checks if a VR headset is connected by looking for browser support of
immersive-vr or immersive-ar WebXR session. Returns a `boolean`.

### `AFRAME.utils.device.isOculusGo ()`

Expand Down

0 comments on commit a772832

Please sign in to comment.