• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ResourceManager_Configuration
2
3
4## Overview
5
6Enumerates device states.
7
8**Since**: 12
9
10**Related module**: [Resourcemanager](resourcemanager.md)
11
12
13## Summary
14
15
16### Member Variables
17
18| Name| Description|
19| -------- | -------- |
20| [ResourceManager_Direction](resourcemanager.md#resourcemanager_direction) [direction](#direction) | Screen orientation. |
21| char \* [locale](#locale) | Locale, for example, zh-Hans-CN. |
22| [ResourceManager_DeviceType](resourcemanager.md#resourcemanager_devicetype) [deviceType](#devicetype) | Device type. |
23| [ScreenDensity](resourcemanager.md#screendensity) [screenDensity](#screendensity) | Screen density. |
24| [ResourceManager_ColorMode](resourcemanager.md#resourcemanager_colormode) [colorMode](#colormode) | Color mode. |
25| uint32_t [mcc](#mcc) | Mobile country code (MCC). |
26| uint32_t [mnc](#mnc) | Mobile network code (MNC). |
27| uint32_t [reserved](#reserved)  | Reserved. |
28
29
30## Member Variable Description
31
32
33### colorMode
34
35```
36ResourceManager_ColorMode ResourceManager_Configuration::colorMode
37```
38**Description**
39
40Defines the color mode.
41
42
43### deviceType
44
45```
46ResourceManager_DeviceType ResourceManager_Configuration::deviceType
47```
48**Description**
49
50Defines the device type.
51
52
53### direction
54
55```
56ResourceManager_Direction ResourceManager_Configuration::direction
57```
58**Description**
59
60Defines the screen orientation.
61
62
63### locale
64
65```
66char* ResourceManager_Configuration::locale
67```
68**Description**
69
70Defines the locale, for example, zh-Hans-CN.
71
72
73### mcc
74
75```
76uint32_t ResourceManager_Configuration::mcc
77```
78**Description**
79
80Defines the MCC.
81
82
83### mnc
84
85```
86uint32_t ResourceManager_Configuration::mnc
87```
88**Description**
89
90Defines the MNC.
91
92
93### reserved
94
95```
96uint32_t ResourceManager_Configuration::reserved[20]
97```
98**Description**
99
100Reserved.
101
102
103### screenDensity
104
105```
106ScreenDensity ResourceManager_Configuration::screenDensity
107```
108**Description**
109
110Defines the screen density.
111