Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The XRLayerEvent constructor creates and returns a new XRLayerEvent object. These events relate to a change of state of an XRLayer object.