Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The end()
method shuts down the XRSession
on which it's called, returning a promise which resolves once the session has fully shut down.