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

RoomleSdkWrapper

Accessors

hasPlanner

get hasPlanner(): boolean

Returns

boolean

Methods

getConfigurator

getConfigurator(element, initData?): Promise<Configurator>

Parameters

NameType

element

HTMLElement

initData?

Returns

Promise<Configurator>


getConfiguratorApi

getConfiguratorApi(element, initData?): Promise<default>

Parameters

NameType

element

HTMLElement

initData?

Returns

Promise<default>


getGlbViewer

getGlbViewer(element, initData?): Promise<GlbViewer>

Parameters

NameType

element

HTMLElement

initData?

Returns

Promise<GlbViewer>


getGlobalCallback

getGlobalCallback(): Promise<GlobalCallback>

Returns

Promise<GlobalCallback>


getPlanner

getPlanner(element, initData?): Promise<Planner>

Parameters

NameType

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

NameType

initData

Nullable<GlobalInitDataDefinition>

Returns

void

Last updated