Interface: WebXRSystemLike
Defined in: service-framework-three/src/webxr-runtime-adapter.ts:65
The slice of navigator.xr the session facet negotiates through.
Methods
isSessionSupported()
isSessionSupported(mode: string): Promise<boolean>;
Defined in: service-framework-three/src/webxr-runtime-adapter.ts:66
Parameters
| Parameter | Type |
|---|---|
mode | string |
Returns
Promise<boolean>
requestSession()
requestSession(mode: string, init?: unknown): Promise<WebXRSessionLike>;
Defined in: service-framework-three/src/webxr-runtime-adapter.ts:67
Parameters
| Parameter | Type |
|---|---|
mode | string |
init? | unknown |
Returns
Promise<WebXRSessionLike>