Configurator.Internal.GlobalCallback
Last updated
Last updated
..GlobalCallback
↳ GlobalCallback
• new GlobalCallback(creator
)
creator
string
• _creator_: string
â–¸ cameraStartsMoving(): void
void
target
prop
â–¸ mute(): void
void
_url
string
URL of the request
_rapiPath
the RAPI_PATHS enum
_json
any
the JSON response
void
â–¸ onCheckExternalCache(_url
, _requestData
): Promise
<any
>
_url
string
_requestData
RequestInit
Promise
<any
>
â–¸ onKernelMsg(_type
, _message
, _meta?
): void
is called when the Kernel sends us some message
_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
void
â–¸ onNetworkRequest(_url
, _data
, _options
): void
is called when a network request is made
_url
string
_data
RequestInit
_options
void
â–¸ onReadyForRender(): void
is called the scene is ready for rendering it as an image
void
â–¸ unmute(): void
void
.
.
• onValidateNetworkResponse:
.
â–¸ get(target
, prop
): string
| (target
: , prop
: keyof ) => string
| (target: UiCallback, prop: keyof UiCallback) => string | ... | (() => void) | (() => void) | (() => void) | (() => void) | () => void
| () => void
| () => void
| () => void
| () => void
| () => void
| () => void
| () => void
keyof
string
| (target
: , prop
: keyof ) => string
| (target: UiCallback, prop: keyof UiCallback) => string | ... | (() => void) | (() => void) | (() => void) | (() => void) | () => void
| () => void
| () => void
| () => void
| () => void
| () => void
| () => void
| () => void
.
.
â–¸ onApiJsonReceived(_url
, _rapiPath
, _json
): Promise
<>
Promise
<>
.
.