isSessionSupported(sessionMode:)

    Checks if the given sessionMode is supported by the user’s browser.

    WebXRInterface.swift:186
    final func isSessionSupported(sessionMode: String)

    Possible values come from WebXR’s XRSessionMode, including: "immersive-vr", "immersive-ar", and "inline".

    This method returns nothing, instead it emits the [signal session_supported] signal with the result.

    Other members in extension

    Types

    Type members

    Instance members