harmony 鸿蒙ResourceManager_Configuration

2025-06-12 浏览 (1)

ResourceManager_Configuration

Overview

Enumerates device states.

Since: 12

Related module: Resourcemanager

Header file: resmgr_common.h

Summary

Member Variables

NameDescription
ResourceManager_Direction directionScreen orientation.
char * localeLocale, for example, zh-Hans-CN.
ResourceManager_DeviceType deviceTypeDevice type.
ScreenDensity screenDensityScreen density.
ResourceManager_ColorMode colorModeColor mode.
uint32_t mccMobile country code (MCC).
uint32_t mncMobile network code (MNC).
uint32_t reservedReserved.

Member Variable Description

colorMode

ResourceManager_ColorMode ResourceManager_Configuration::colorMode

Description

Defines the color mode.

deviceType

ResourceManager_DeviceType ResourceManager_Configuration::deviceType

Description

Defines the device type.

direction

ResourceManager_Direction ResourceManager_Configuration::direction

Description

Defines the screen orientation.

locale

char* ResourceManager_Configuration::locale

Description

Defines the locale, for example, zh-Hans-CN.

mcc

uint32_t ResourceManager_Configuration::mcc

Description

Defines the MCC.

mnc

uint32_t ResourceManager_Configuration::mnc

Description

Defines the MNC.

reserved

uint32_t ResourceManager_Configuration::reserved[20]

Description

Reserved.

screenDensity

ScreenDensity ResourceManager_Configuration::screenDensity

Description

Defines the screen density.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Localization Kit

harmony 鸿蒙RawFileDescriptor

harmony 鸿蒙RawFileDescriptor64

harmony 鸿蒙Font Management Error Codes

harmony 鸿蒙I18N Error Codes

harmony 鸿蒙Resource Manager Error Codes

harmony 鸿蒙@ohos.fontManager (Font Management)

harmony 鸿蒙@ohos.i18n (Internationalization) (System API)

harmony 鸿蒙@ohos.i18n (Internationalization)

harmony 鸿蒙@ohos.intl (Internationalization)

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/y8CIYL