ExposedApi.Internal.RoomleSdkWrapper
Embedding API Reference / Modules / exposed-api / <internal> / RoomleSdkWrapper
Class: RoomleSdkWrapper
exposed-api.<internal>.RoomleSdkWrapper
We use this class in a plugin so we can rely on DI to change it during testing
Table of contents
Constructors
Accessors
Methods
Constructors
constructor
• new RoomleSdkWrapper(): RoomleSdkWrapper
Returns
Accessors
hasPlanner
• get
hasPlanner(): boolean
Returns
boolean
Methods
getConfigurator
▸ getConfigurator(element
, initData?
): Promise
<Configurator
>
Parameters
element
HTMLElement
initData?
Returns
Promise
<Configurator
>
getConfiguratorApi
▸ getConfiguratorApi(element
, initData?
): Promise
<default
>
Parameters
element
HTMLElement
initData?
Returns
Promise
<default
>
getGlbViewer
▸ getGlbViewer(element
, initData?
): Promise
<GlbViewer
>
Parameters
element
HTMLElement
initData?
Returns
Promise
<GlbViewer
>
getGlobalCallback
▸ getGlobalCallback(): Promise
<GlobalCallback
>
Returns
Promise
<GlobalCallback
>
getPlanner
▸ getPlanner(element
, initData?
): Promise
<Planner
>
Parameters
element
HTMLElement
initData?
Returns
Promise
<Planner
>
getRapiAccess
▸ getRapiAccess(): Promise
<default
>
Returns
Promise
<default
>
getStorage
▸ getStorage(): Nullable
<default
>
Returns
Nullable
<default
>
setGlobalInitData
▸ setGlobalInitData(initData
): void
Parameters
initData
Nullable
<GlobalInitDataDefinition
>
Returns
void
Last updated