AndroidConfiguration
Use this class to retrieve device specific configuration information.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Android
- Assembly: UnityEngine.AndroidJNIModule
public sealed class AndroidConfiguration
Remarks
Additional Resources: AndroidApplication.currentConfiguration.
Constructors
Constructor | Description |
|---|---|
| AndroidConfiguration() | Mirrors the Android method |
| AndroidConfiguration(UnityEngine.Android.AndroidConfiguration) | Mirrors the Android method |
Properties
Property | Description |
|---|---|
| colorModeHdr | Mirrors the Android property |
| colorModeWideColorGamut | Mirrors the Android property |
| densityDpi | Mirrors the Android property |
| fontScale | Mirrors the Android property |
| fontWeightAdjustment | Mirrors the Android property |
| hardKeyboardHidden | Mirrors the Android property |
| keyboard | Mirrors the Android property |
| keyboardHidden | Mirrors the Android property |
| locales | Indicates the language and region preferences set on the device in an array. |
| mobileCountryCode | Mirrors the Android property |
| mobileNetworkCode | Mirrors the Android property |
| navigation | Mirrors the Android property |
| navigationHidden | Mirrors the Android property |
| orientation | Mirrors the Android property |
| screenHeightDp | Mirrors the Android property |
| screenLayoutDirection | Mirrors the Android property |
| screenLayoutLong | Mirrors the Android property |
| screenLayoutRound | Mirrors the Android property |
| screenLayoutSize | Mirrors the Android property |
| screenWidthDp | Mirrors the Android property |
| smallestScreenWidthDp | Mirrors the Android property |
| touchScreen | Mirrors the Android property |
| uiModeNight | Mirrors the Android property |
| uiModeType | Mirrors the Android property |