AppConfiguration

data class AppConfiguration

A configuration object that is sent from the keyboard sdk to the app whenever the language of the keyboard changes or other configuration changes.

Summary

Constructors
AppConfiguration(currentLocale: String)
AppConfiguration(availableLocales: List<String>)
AppConfiguration(currentLocale: String, availableLocales: List<String>)
Properties
String currentLocale
The current locale in the keyboard
List<String> availableLocales
The available locales to the keyboard

Constructors

AppConfiguration

AppConfiguration(currentLocale: String)
Parameters
currentLocale: String The current locale in the keyboard

AppConfiguration

AppConfiguration(availableLocales: List<String>)
Parameters
availableLocales: List<String> The available locales to the keyboard

AppConfiguration

AppConfiguration(currentLocale: String, availableLocales: List<String>)
Parameters
currentLocale: String The current locale in the keyboard
availableLocales: List<String> The available locales to the keyboard

Properties

currentLocale

val currentLocale: String = ""

The current locale in the keyboard

availableLocales

val availableLocales: List<String> = emptyList()

The available locales to the keyboard


If something needs to be added or if you find an error in our documentation, please let us know either on our GitHub or Discord.

Last updated on June 16, 2023