From a772832bf233be71b665d16411e1634dd385b702 Mon Sep 17 00:00:00 2001 From: Vincent Fretin Date: Thu, 23 Jan 2025 18:56:48 +0100 Subject: [PATCH] Fix wrong description for AFRAME.utils.device.checkHeadsetConnected() function (#5636) --- docs/core/utils.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/core/utils.md b/docs/core/utils.md index e88556c980a..565fa003769 100644 --- a/docs/core/utils.md +++ b/docs/core/utils.md @@ -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 ()`