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

# Defined in

src/configurator/business-logic/roomle-sdk-wrapper.ts:25 (opens new window)

# Methods

# getConfigurator

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

# Parameters

Name Type
element HTMLElement
initData? UiInitData

# Returns

Promise<Configurator>

# Defined in

src/configurator/business-logic/roomle-sdk-wrapper.ts:29 (opens new window)


# getConfiguratorApi

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

# Parameters

Name Type
element HTMLElement
initData? UiInitData

# Returns

Promise<default>

# Defined in

src/configurator/business-logic/roomle-sdk-wrapper.ts:55 (opens new window)


# getGlbViewer

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

# Parameters

Name Type
element HTMLElement
initData? UiInitData

# Returns

Promise<GlbViewer>

# Defined in

src/configurator/business-logic/roomle-sdk-wrapper.ts:81 (opens new window)


# getGlobalCallback

getGlobalCallback(): Promise<GlobalCallback>

# Returns

Promise<GlobalCallback>

# Defined in

src/configurator/business-logic/roomle-sdk-wrapper.ts:137 (opens new window)


# getPlanner

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

# Parameters

Name Type
element HTMLElement
initData? UiInitData

# Returns

Promise<Planner>

# Defined in

src/configurator/business-logic/roomle-sdk-wrapper.ts:106 (opens new window)


# getRapiAccess

getRapiAccess(): Promise<default>

# Returns

Promise<default>

# Defined in

src/configurator/business-logic/roomle-sdk-wrapper.ts:133 (opens new window)


# getStorage

getStorage(): Nullable<default>

# Returns

Nullable<default>

# Defined in

src/configurator/business-logic/roomle-sdk-wrapper.ts:141 (opens new window)


# setGlobalInitData

setGlobalInitData(initData): void

# Parameters

Name Type
initData Nullable<GlobalInitDataDefinition>

# Returns

void

# Defined in

src/configurator/business-logic/roomle-sdk-wrapper.ts:151 (opens new window)