openharmony 鸿蒙 js-apidiff-global

2023-02-03 浏览 (754)

JS API Changes of the Globalization Subsystem

The table below lists the APIs changes of the globalization subsystem in OpenHarmony 3.2 Beta2 over OpenHarmony 3.2 Beta1.

API Changes

ModuleClassMethod/Attribute/Enumeration/ConstantChange Type
ohos.EnterpriseAdminExtensionAbilityEnterpriseAdminExtensionAbilityonAdminDisabled(): void;Added
ohos.EnterpriseAdminExtensionAbilityEnterpriseAdminExtensionAbilityonAdminEnabled(): void;Added
ohos.enterpriseDeviceManagerenterpriseDeviceManagerisAdminEnabled(admin: Want, callback: AsyncCallback<boolean>): void;
isAdminEnabled(admin: Want, userId: number, callback: AsyncCallback<boolean>): void;
isAdminEnabled(admin: Want, userId?: number): Promise<boolean>;
Added
ohos.enterpriseDeviceManagerenterpriseDeviceManagerdisableSuperAdmin(bundleName: String, callback: AsyncCallback<boolean>): void;
disableSuperAdmin(bundleName: String): Promise<boolean>;
Added
ohos.enterpriseDeviceManagerenterpriseDeviceManagerdisableAdmin(admin: Want, callback: AsyncCallback<boolean>): void;
disableAdmin(admin: Want, userId: number, callback: AsyncCallback<boolean>): void;
disableAdmin(admin: Want, userId?: number): Promise<boolean>;
Added
ohos.enterpriseDeviceManagerenterpriseDeviceManagerenableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback<boolean>): void;
enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId: number, callback: AsyncCallback<boolean>): void;
enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId?: number): Promise<boolean>;
Added
ohos.i18ni18ngetUsingLocalDigit(): boolean;Added
ohos.i18ni18nsetUsingLocalDigit(flag: boolean): boolean;Added
ohos.i18nTransliteratortransform(text: string): string;Added
ohos.i18nTransliteratorstatic getInstance(id: string): Transliterator;Added
ohos.i18nTransliteratorstatic getAvailableIDs(): string[];Added
ohos.i18nTimeZonestatic getTimezoneFromCity(cityID: string): TimeZone;Added
ohos.i18nTimeZonestatic getCityDisplayName(cityID: string, locale: string): string;Added
ohos.i18nTimeZonestatic getAvailableZoneCityIDs(): Array<string>;Added
ohos.i18nTimeZonestatic getAvailableIDs(): Array<string>;Added
ohos.i18nPhoneNumberFormatgetLocationName(number: string, locale: string): string;Added
ohos.i18nUtilgetDateOrder(locale: string): string;Added
resourceResourceid: number;Added
resourceResourcemoduleName: string;Added
resourceResourcebundleName: string;Added
ohos.enterpriseDeviceManagerenterpriseDeviceManagerisAdminAppActive(admin: Want, callback: AsyncCallback<boolean>): void;
isAdminAppActive(admin: Want): Promise<boolean>;
Deleted
ohos.enterpriseDeviceManagerenterpriseDeviceManagerdeactivateSuperAdmin(bundleName: String, callback: AsyncCallback<boolean>): void;
deactivateSuperAdmin(bundleName: String): Promise<boolean>;
Deleted
ohos.enterpriseDeviceManagerenterpriseDeviceManagerdeactivateAdmin(admin: Want, callback: AsyncCallback<boolean>): void;
deactivateAdmin(admin: Want): Promise<boolean>;
Deleted
ohos.enterpriseDeviceManagerenterpriseDeviceManageractivateAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback<boolean>): void;
activateAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType): Promise<boolean>;
Deleted

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Changes of the Ability Framework

harmony 鸿蒙JS API Changes of the Accessibility Subsystem

harmony 鸿蒙JS API Changes of the Account Subsystem

harmony 鸿蒙JS API Changes of the ArkUI Development Framework

harmony 鸿蒙JS API Changes of the Bundle Management Framework

harmony 鸿蒙JS API Changes of the Communication Subsystem

harmony 鸿蒙JS API Changes of the Compiler and Runtime Subsystem

harmony 鸿蒙JS API Changes of the DFX Subsystem

harmony 鸿蒙JS API Changes of the Distributed Data Management Subsystem

harmony 鸿蒙JS API Changes of the Common Event and Notification Subsystem

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