Google is committed to advancing racial equity for Black communities. See how.

ConfigurationCompat

class ConfigurationCompat
kotlin.Any
   ↳ androidx.core.os.ConfigurationCompat

Helper class which allows access to properties of Configuration in a backward compatible fashion.

Summary

Public methods
static LocaleListCompat
getLocales(@NonNull configuration: Configuration)

Get the LocaleListCompat from the Configuration.

Public methods

getLocales

@NonNull static fun getLocales(@NonNull configuration: Configuration): LocaleListCompat

Get the LocaleListCompat from the Configuration.

Return
LocaleListCompat The locale list.