GfpLanguage

Enumeration representing supported languages for the SDK. Provides functionality for locale management and string localization.

Entries

Link copied to clipboard

System language setting. Uses the device's system language settings.

Link copied to clipboard

English language setting.

Link copied to clipboard

Spanish language setting.

Link copied to clipboard

French language setting.

Link copied to clipboard

Indonesian language setting.

Link copied to clipboard

Korean language setting.

Link copied to clipboard

Thai language setting.

Link copied to clipboard

Chinese (Hong Kong) language setting.

Link copied to clipboard

Chinese (Taiwan) language setting.

Link copied to clipboard

Japanese language setting.

Link copied to clipboard

Chinese (China) language setting.

Link copied to clipboard

German language setting.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
abstract fun getLocale(context: Context): Locale

Returns the Locale object for the current language setting.

Link copied to clipboard
abstract fun getLocaleCode(context: Context): String

Returns the locale code string for the current language setting.

Link copied to clipboard

Creates a new Context with the current language setting.

Link copied to clipboard
fun getString(context: Context, @StringRes resId: Int): String

Gets a localized string resource.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.