程序包 ohos.global.configuration

Describes resource configurations, including the language and region, screen resolution, device type, and device orientation.

These configurations determine the resource data to be read.

For example, you can use ResourceManager.getConfiguration() to obtain the configuration and ResourceManager.updateConfiguration(Configuration, DeviceCapability) to update the configuration.

从以下版本开始:
1
跳过导航链接