Configurator.Internal.GlobalCallback

configurator-core/src/configurator.internal.GlobalCallback

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new GlobalCallback(creator)

Parameters

NameType

creator

string

Inherited from

UiCallback.constructor

Properties

_creator_

_creator_: string

Inherited from

UiCallback.creator


onValidateNetworkResponse

onValidateNetworkResponse: ExternalResponseValidator

Methods

cameraStartsMoving

cameraStartsMoving(): void

Returns

void

Inherited from

UiCallback.cameraStartsMoving


get

get(target, prop): string | (target: UiCallback, prop: keyof UiCallback) => string | (target: UiCallback, prop: keyof UiCallback) => string | ... | (() => void) | (() => void) | (() => void) | () => void | () => void | () => void | () => void | () => void | () => void

Parameters

NameType

target

prop

Returns

string | (target: UiCallback, prop: keyof UiCallback) => string | (target: UiCallback, prop: keyof UiCallback) => string | ... | (() => void) | (() => void) | (() => void) | () => void | () => void | () => void | () => void | () => void | () => void

Inherited from

UiCallback.get


mute

mute(): void

Returns

void

Inherited from

UiCallback.mute


onApiJsonReceived

onApiJsonReceived(_url, _rapiPath, _json): Promise<RapiJsonBox>

Parameters

NameTypeDescription

_url

string

URL of the request

_rapiPath

the RAPI_PATHS enum

_json

any

the JSON response

Returns

Promise<RapiJsonBox>

void


onCheckExternalCache

onCheckExternalCache(_url, _requestData): Promise<any>

Parameters

NameType

_url

string

_requestData

RequestInit

Returns

Promise<any>


onKernelMsg

onKernelMsg(_type, _message, _meta?): void

is called when the Kernel sends us some message

Parameters

NameTypeDescription

_type

KernelMessageType can either be exception, error or warning

_message

string

string the message from the Kernel

_meta

KernelMessageMetaInfo optional, adds more information for debugging

Returns

void


onNetworkRequest

onNetworkRequest(_url, _data, _options): void

is called when a network request is made

Parameters

NameType

_url

string

_data

RequestInit

_options

Returns

void


unmute

unmute(): void

Returns

void

Inherited from

UiCallback.unmute

Last updated