added in version 26.1.0
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1

ConfigurationCompat

public final class ConfigurationCompat
extends Object

java.lang.Object
   ↳ android.support.v4.os.ConfigurationCompat


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

Summary

Public methods

static LocaleListCompat getLocales(Configuration configuration)

Get the LocaleListCompat from the Configuration.

Inherited methods

From class java.lang.Object

Public methods

getLocales

added in version 26.1.0
LocaleListCompat getLocales (Configuration configuration)

Get the LocaleListCompat from the Configuration.

Parameters
configuration Configuration

Returns
LocaleListCompat The locale list.