openharmony 鸿蒙 native-apidiff-v2.2-beta2

2022-12-22 浏览 (759)

Native API 差异报告

OpenHarmony 2.2 Beta2相较于OpenHarmony 2.0 Canary版本的API变更如下:

轻量级系统接口变更

模块名称接口名称变更类型变更类型
global_i18n_litestatic LocaleInfo LocaleInfo ::ForLanguageTag(const char *languageTag, I18nStatus &status);新增新增接口
global_i18n_liteconst char LocaleInfo ::*GetExtension(const char *key);新增新增接口
global_i18n_liteWeekInfo::WeekInfo(const LocaleInfo &localeInfo, I18nStatus &status);新增新增接口
global_i18n_liteuint8_t WeekInfo::GetFirstDayOfWeek();新增新增接口
global_i18n_liteuint8_t WeekInfo::GetMinimalDaysInFirstWeek();新增新增接口
global_i18n_liteuint8_t WeekInfo::GetFirstDayOfWeekend();新增新增接口
global_i18n_liteuint8_t WeekInfo::GetLastDayOfWeekend();新增新增接口
global_i18n_liteint PluralFormat::GetPluralRuleIndex(double number, I18nStatus status);新增新增接口
powermgr_powermgr_liteconst RunningLock *CreateRunningLock(const char *name, RunningLockType type, RunningLockFlag flag);新增新增接口
powermgr_powermgr_litevoid DestroyRunningLock(const RunningLock *lock);新增新增接口
powermgr_powermgr_liteBOOL AcquireRunningLock(const RunningLock *lock);新增新增接口
powermgr_powermgr_liteBOOL ReleaseRunningLock(const RunningLock *lock);新增新增接口
powermgr_powermgr_liteBOOL IsRunningLockHolding(const RunningLock *lock);新增新增接口

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API 差异报告

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