harmony(鸿蒙)JS API Changes of the Globalization Subsystem
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
Module | Class | Method/Attribute/Enumeration/Constant | Change Type |
---|---|---|---|
ohos.EnterpriseAdminExtensionAbility | EnterpriseAdminExtensionAbility | onAdminDisabled(): void; | Added |
ohos.EnterpriseAdminExtensionAbility | EnterpriseAdminExtensionAbility | onAdminEnabled(): void; | Added |
ohos.enterpriseDeviceManager | enterpriseDeviceManager | isAdminEnabled(admin: Want, callback: AsyncCallback<boolean>): void; isAdminEnabled(admin: Want, userId: number, callback: AsyncCallback<boolean>): void; isAdminEnabled(admin: Want, userId?: number): Promise<boolean>; |
Added |
ohos.enterpriseDeviceManager | enterpriseDeviceManager | disableSuperAdmin(bundleName: String, callback: AsyncCallback<boolean>): void; disableSuperAdmin(bundleName: String): Promise<boolean>; |
Added |
ohos.enterpriseDeviceManager | enterpriseDeviceManager | disableAdmin(admin: Want, callback: AsyncCallback<boolean>): void; disableAdmin(admin: Want, userId: number, callback: AsyncCallback<boolean>): void; disableAdmin(admin: Want, userId?: number): Promise<boolean>; |
Added |
ohos.enterpriseDeviceManager | enterpriseDeviceManager | enableAdmin(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.i18n | i18n | getUsingLocalDigit(): boolean; | Added |
ohos.i18n | i18n | setUsingLocalDigit(flag: boolean): boolean; | Added |
ohos.i18n | Transliterator | transform(text: string): string; | Added |
ohos.i18n | Transliterator | static getInstance(id: string): Transliterator; | Added |
ohos.i18n | Transliterator | static getAvailableIDs(): string[]; | Added |
ohos.i18n | TimeZone | static getTimezoneFromCity(cityID: string): TimeZone; | Added |
ohos.i18n | TimeZone | static getCityDisplayName(cityID: string, locale: string): string; | Added |
ohos.i18n | TimeZone | static getAvailableZoneCityIDs(): Array<string>; | Added |
ohos.i18n | TimeZone | static getAvailableIDs(): Array<string>; | Added |
ohos.i18n | PhoneNumberFormat | getLocationName(number: string, locale: string): string; | Added |
ohos.i18n | Util | getDateOrder(locale: string): string; | Added |
resource | Resource | id: number; | Added |
resource | Resource | moduleName: string; | Added |
resource | Resource | bundleName: string; | Added |
ohos.enterpriseDeviceManager | enterpriseDeviceManager | isAdminAppActive(admin: Want, callback: AsyncCallback<boolean>): void; isAdminAppActive(admin: Want): Promise<boolean>; |
Deleted |
ohos.enterpriseDeviceManager | enterpriseDeviceManager | deactivateSuperAdmin(bundleName: String, callback: AsyncCallback<boolean>): void; deactivateSuperAdmin(bundleName: String): Promise<boolean>; |
Deleted |
ohos.enterpriseDeviceManager | enterpriseDeviceManager | deactivateAdmin(admin: Want, callback: AsyncCallback<boolean>): void; deactivateAdmin(admin: Want): Promise<boolean>; |
Deleted |
ohos.enterpriseDeviceManager | enterpriseDeviceManager | activateAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback<boolean>): void; activateAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType): Promise<boolean>; |
Deleted |
你可能感兴趣的鸿蒙文章
harmony(鸿蒙)Adaptation Guide for the Application Sandbox
harmony(鸿蒙)Updates (OpenHarmony 3.2 Beta1 -> OpenHarmony 3.2 Beta2)
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
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦