Interface XRSystem

Hierarchy

Properties

Methods

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    MDN Reference

    Parameters

    Returns boolean

  • Queries if a given mode may be supported by the user agent and device capabilities.

    Parameters

    Returns Promise<boolean>