API Reference / Modules / configurator-core/src/configurator / <internal> / GlobalCallback
# Class: GlobalCallback
configurator-core/src/configurator.
# Hierarchy
-
↳
GlobalCallback
# Table of contents
# Constructors
# Properties
# Methods
# Constructors
# constructor
• new GlobalCallback(creator
)
# Parameters
Name | Type |
---|---|
creator | string |
# Inherited from
# Defined in
packages/common-core/src/utils/ui-callback.ts:25 (opens new window)
# Properties
# _creator_
• _creator_: string
# Inherited from
# Defined in
packages/common-core/src/utils/ui-callback.ts:8 (opens new window)
# onValidateNetworkResponse
• onValidateNetworkResponse: ExternalResponseValidator
# Defined in
packages/common-core/src/services/global-callback.ts:35 (opens new window)
# Methods
# cameraStartsMoving
▸ cameraStartsMoving(): void
# Returns
void
# Inherited from
# Defined in
packages/common-core/src/utils/ui-callback.ts:57 (opens new window)
# 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
Name | Type |
---|---|
target | UiCallback |
prop | keyof UiCallback |
# 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
# Defined in
packages/common-core/src/utils/ui-callback.ts:43 (opens new window)
# mute
▸ mute(): void
# Returns
void
# Inherited from
# Defined in
packages/common-core/src/utils/ui-callback.ts:17 (opens new window)
# onCheckExternalCache
▸ onCheckExternalCache(_url
, _requestData
): Promise
<any
>
# Parameters
Name | Type |
---|---|
_url | string |
_requestData | RequestInit |
# Returns
Promise
<any
>
# Defined in
packages/common-core/src/services/global-callback.ts:30 (opens new window)
# onKernelMsg
▸ onKernelMsg(_type
, _message
, _meta?
): void
is called when the Kernel sends us some message
# Parameters
Name | Type | Description |
---|---|---|
_type | KernelMessageType | KernelMessageType can either be exception, error or warning |
_message | string | string the message from the Kernel |
_meta | KernelMessageMetaInfo | KernelMessageMetaInfo optional, adds more information for debugging |
# Returns
void
# Defined in
packages/common-core/src/services/global-callback.ts:24 (opens new window)
# onNetworkRequest
▸ onNetworkRequest(_url
, _data
, _options
): void
is called when a network request is made
# Parameters
Name | Type |
---|---|
_url | string |
_data | RequestInit |
_options | FetchOptions |
# Returns
void
# Defined in
packages/common-core/src/services/global-callback.ts:12 (opens new window)
# unmute
▸ unmute(): void
# Returns
void
# Inherited from
# Defined in
packages/common-core/src/utils/ui-callback.ts:21 (opens new window)