Skip to main content

Interface: IWSDKWorldLike<TVisibility = unknown>

Defined in: service-framework-iwsdk/src/iwsdk-host.ts:106

Type Parameters​

Type ParameterDefault type
TVisibilityunknown

Properties​

PropertyModifierTypeDescriptionDefined in
session?readonlyIWSDKSessionLike | nullThe live XR session, or null/absent when the app is running in 2D.service-framework-iwsdk/src/iwsdk-host.ts:109
visibilityStatereadonlyIWSDKSignalLike<TVisibility>-service-framework-iwsdk/src/iwsdk-host.ts:107

Methods​

exitXR()?​

optional exitXR(): void;

Defined in: service-framework-iwsdk/src/iwsdk-host.ts:113

IWSDK's session exit point. Absent on a host that cannot end one.

Returns​

void


launchXR()?​

optional launchXR(options?: IWSDKXROptionsLike): void;

Defined in: service-framework-iwsdk/src/iwsdk-host.ts:111

IWSDK's session entry point. Absent on a host that cannot start one.

Parameters​

ParameterType
options?IWSDKXROptionsLike

Returns​

void