# AndroidConfiguration

> Use this class to retrieve device specific configuration information.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.Android](/engine/6000.6/script-reference/unityengine/android.md)
* **Assembly:** UnityEngine.AndroidJNIModule

```csharp
public sealed class AndroidConfiguration
```

## Remarks

Additional Resources: [AndroidApplication.currentConfiguration](/engine/6000.6/script-reference/unityengine/android/androidapplication/currentconfiguration.md).

## Constructors

| Constructor                                                                                                                                                                                     | Description                                   |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| [AndroidConfiguration()](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/ctor.md#androidconfiguration\(\))                                                             | Mirrors the Android method `Configuration()`. |
| [AndroidConfiguration(UnityEngine.Android.AndroidConfiguration)](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/ctor.md#androidconfiguration\(androidconfiguration\)) | Mirrors the Android method `Configuration()`. |

## Properties

| Property                                                                                                                       | Description                                                                                     |
| ------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------- |
| [colorModeHdr](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/colormodehdr.md)                       | Mirrors the Android property `colorMode` based on the `COLOR_MODE_HDR_MASK` value.              |
| [colorModeWideColorGamut](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/colormodewidecolorgamut.md) | Mirrors the Android property `colorMode` based on the `COLOR_MODE_WIDE_COLOR_GAMUT_MASK` value. |
| [densityDpi](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/densitydpi.md)                           | Mirrors the Android property `densityDpi`.                                                      |
| [fontScale](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/fontscale.md)                             | Mirrors the Android property `fontScale`.                                                       |
| [fontWeightAdjustment](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/fontweightadjustment.md)       | Mirrors the Android property `fontWeightAdjustment`.                                            |
| [hardKeyboardHidden](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/hardkeyboardhidden.md)           | Mirrors the Android property `hardKeyboardHidden`.                                              |
| [keyboard](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/keyboard.md)                               | Mirrors the Android property `keyboard`.                                                        |
| [keyboardHidden](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/keyboardhidden.md)                   | Mirrors the Android property `keyboardHidden`.                                                  |
| [locales](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/locales.md)                                 | Indicates the language and region preferences set on the device in an array.                    |
| [mobileCountryCode](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/mobilecountrycode.md)             | Mirrors the Android property `mcc`.                                                             |
| [mobileNetworkCode](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/mobilenetworkcode.md)             | Mirrors the Android property `mnc`.                                                             |
| [navigation](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/navigation.md)                           | Mirrors the Android property `navigation`.                                                      |
| [navigationHidden](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/navigationhidden.md)               | Mirrors the Android property `navigationHidden`.                                                |
| [orientation](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/orientation.md)                         | Mirrors the Android property `orientation`.                                                     |
| [screenHeightDp](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/screenheightdp.md)                   | Mirrors the Android property `screenHeightDp`.                                                  |
| [screenLayoutDirection](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/screenlayoutdirection.md)     | Mirrors the Android property `screenLayout` based on the `SCREENLAYOUT_LAYOUTDIR_MASK` value.   |
| [screenLayoutLong](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/screenlayoutlong.md)               | Mirrors the Android property `screenLayout` based on the `SCREENLAYOUT_LONG_MASK` value.        |
| [screenLayoutRound](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/screenlayoutround.md)             | Mirrors the Android property `screenLayout` based on the `SCREENLAYOUT_ROUND_MASK` value.       |
| [screenLayoutSize](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/screenlayoutsize.md)               | Mirrors the Android property `screenLayout` based on the `SCREENLAYOUT_SIZE_MASK` value.        |
| [screenWidthDp](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/screenwidthdp.md)                     | Mirrors the Android property `screenWidthDp`.                                                   |
| [smallestScreenWidthDp](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/smallestscreenwidthdp.md)     | Mirrors the Android property `smallestScreenWidthDp`.                                           |
| [touchScreen](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/touchscreen.md)                         | Mirrors the Android property `touchscreen`.                                                     |
| [uiModeNight](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/uimodenight.md)                         | Mirrors the Android property `uiMode` based on the `UI_MODE_NIGHT_MASK` value.                  |
| [uiModeType](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/uimodetype.md)                           | Mirrors the Android property `uiMode` based on the `UI_MODE_TYPE_MASK` value.                   |

## Methods

| Method                                                                                           | Description                                                   |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------- |
| [CopyFrom](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/copyfrom.md) | Copies the specified configuration into the current instance. |
| [ToString](/engine/6000.6/script-reference/unityengine/android/androidconfiguration/tostring.md) | Mirrors the Android method `toString()`.                      |
