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