AndroidConfiguration

class in UnityEngine.Android

/

Implemented in:UnityEngine.AndroidJNIModule

Description

Use this class to retrieve device specific configuration information.

Properties

colorModeHdrMirrors the Android property colorMode based on the COLOR_MODE_HDR_MASK value.
colorModeWideColorGamutMirrors the Android property colorMode based on the COLOR_MODE_WIDE_COLOR_GAMUT_MASK value.
densityDpiMirrors the Android property densityDpi.
fontScaleMirrors the Android property fontScale.
fontWeightAdjustmentMirrors the Android property fontWeightAdjustment.
hardKeyboardHiddenMirrors the Android property hardKeyboardHidden.
keyboardMirrors the Android property keyboard.
keyboardHiddenMirrors the Android property keyboardHidden.
localesIndicates the language and region preferences set on the device in an array.
mobileCountryCodeMirrors the Android property mcc.
mobileNetworkCodeMirrors the Android property mnc.
navigationMirrors the Android property navigation.
navigationHiddenMirrors the Android property navigationHidden.
orientationMirrors the Android property orientation.
screenHeightDpMirrors the Android property screenHeightDp.
screenLayoutDirectionMirrors the Android property screenLayout based on the SCREENLAYOUT_LAYOUTDIR_MASK value.
screenLayoutLongMirrors the Android property screenLayout based on the SCREENLAYOUT_LONG_MASK value.
screenLayoutRoundMirrors the Android property screenLayout based on the SCREENLAYOUT_ROUND_MASK value.
screenLayoutSizeMirrors the Android property screenLayout based on the SCREENLAYOUT_SIZE_MASK value.
screenWidthDpMirrors the Android property screenWidthDp.
smallestScreenWidthDpMirrors the Android property smallestScreenWidthDp.
touchScreenMirrors the Android property touchscreen.
uiModeNightMirrors the Android property uiMode based on the UI_MODE_NIGHT_MASK value.
uiModeTypeMirrors the Android property uiMode based on the UI_MODE_TYPE_MASK value.

Constructors

AndroidConfigurationMirrors the Android method Configuration().

Public Methods

CopyFromCopies the specified configuration into the current instance.
ToStringMirrors the Android method toString().

Did you find this page useful? Please give it a rating: