Package com.tomtom.ivi.platform.localization.api.common.settings

This package contains tools for customising the region-specific elements of the digital cockpit environment such as language.

setSystemLocale is an API which allows for changing the Android system's language, reflected in all apps present on the system.

Functions

Link copied to clipboard
fun setSystemLocale(locale: Locale)

Sets locale as the Android System Locale. This can be used to switch language on the Android system level. The android.permission.CHANGE_CONFIGURATION permission is required in order to use this API.