Skip to main content

Interface: IExternalGetters

Defined in: src/types/context.ts:12

External getter functions that the runtime calls to obtain host-level values not covered by dedicated service interfaces.

Properties​

getLanguage​

getLanguage: () => "id" | "en" | "zh" | "zh_HANT" | "fr" | "de" | "hi" | "it" | "ko" | "pl" | "pt" | "ru" | "ja" | "es" | "th" | "tr" | "vi"

Defined in: src/types/context.ts:14

Returns the current UI language code for the host application

Returns​

"id" | "en" | "zh" | "zh_HANT" | "fr" | "de" | "hi" | "it" | "ko" | "pl" | "pt" | "ru" | "ja" | "es" | "th" | "tr" | "vi"