harmony 鸿蒙js-apidiff-customization

  • 2023-06-24
  • 浏览 (438)

操作 旧版本 新版本 d.ts文件
新增 NA 类名:adminManager;
方法or属性:function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback<void>): void;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId: number, callback: AsyncCallback<void>): void;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId?: number): Promise<void>;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function disableAdmin(admin: Want, callback: AsyncCallback<void>): void;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function disableAdmin(admin: Want, userId: number, callback: AsyncCallback<void>): void;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function disableAdmin(admin: Want, userId?: number): Promise<void>;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function disableSuperAdmin(bundleName: String, callback: AsyncCallback<void>): void;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function disableSuperAdmin(bundleName: String): Promise<void>;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function isAdminEnabled(admin: Want, callback: AsyncCallback<boolean>): void;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function isAdminEnabled(admin: Want, userId: number, callback: AsyncCallback<boolean>): void;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function isAdminEnabled(admin: Want, userId?: number): Promise<boolean>;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function getEnterpriseInfo(admin: Want, callback: AsyncCallback<EnterpriseInfo>): void;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function getEnterpriseInfo(admin: Want): Promise<EnterpriseInfo>;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo, callback: AsyncCallback<void>): void;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo): Promise<void>;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function isSuperAdmin(bundleName: String, callback: AsyncCallback<boolean>): void;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function isSuperAdmin(bundleName: String): Promise<boolean>;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function subscribeManagedEvent(admin: Want, managedEvents: Array<ManagedEvent>, callback: AsyncCallback<void>): void;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function subscribeManagedEvent(admin: Want, managedEvents: Array<ManagedEvent>): Promise<void>;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function unsubscribeManagedEvent(admin: Want, managedEvents: Array<ManagedEvent>, callback: AsyncCallback<void>): void;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:adminManager;
方法or属性:function unsubscribeManagedEvent(admin: Want, managedEvents: Array<ManagedEvent>): Promise<void>;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:EnterpriseInfo;
方法or属性:name: string;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:EnterpriseInfo;
方法or属性:description: string;
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:AdminType;
方法or属性:ADMIN_TYPE_NORMAL = 0x00
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:AdminType;
方法or属性:ADMIN_TYPE_SUPER = 0x01
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:ManagedEvent;
方法or属性:MANAGED_EVENT_BUNDLE_ADDED = 0
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:ManagedEvent;
方法or属性:MANAGED_EVENT_BUNDLE_REMOVED = 1
@ohos.enterprise.adminManager.d.ts
新增 NA 类名:dateTimeManager;
方法or属性:function setDateTime(admin: Want, time: number, callback: AsyncCallback<void>): void;
@ohos.enterprise.dateTimeManager.d.ts
新增 NA 类名:dateTimeManager;
方法or属性:function setDateTime(admin: Want, time: number): Promise<void>;
@ohos.enterprise.dateTimeManager.d.ts
新增 NA 类名:EnterpriseAdminExtensionAbility;
方法or属性:onAdminEnabled(): void;
@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts
新增 NA 类名:EnterpriseAdminExtensionAbility;
方法or属性:onAdminDisabled(): void;
@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts
新增 NA 类名:EnterpriseAdminExtensionAbility;
方法or属性:onBundleAdded(bundleName: string): void;
@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts
新增 NA 类名:EnterpriseAdminExtensionAbility;
方法or属性:onBundleRemoved(bundleName: string): void;
@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts
新增(错误码) 类名:configPolicy;
方法or属性:function getOneCfgFile(relPath: string, callback: AsyncCallback<string>);
旧版本信息:
类名:configPolicy;
方法or属性:function getOneCfgFile(relPath: string, callback: AsyncCallback<string>);
新版本信息:401
@ohos.configPolicy.d.ts
新增(错误码) 类名:configPolicy;
方法or属性:function getOneCfgFile(relPath: string): Promise<string>;
旧版本信息:
类名:configPolicy;
方法or属性:function getOneCfgFile(relPath: string): Promise<string>;
新版本信息:401
@ohos.configPolicy.d.ts
新增(错误码) 类名:configPolicy;
方法or属性:function getCfgFiles(relPath: string, callback: AsyncCallback<Array<string>>);
旧版本信息:
类名:configPolicy;
方法or属性:function getCfgFiles(relPath: string, callback: AsyncCallback<Array<string>>);
新版本信息:401
@ohos.configPolicy.d.ts
新增(错误码) 类名:configPolicy;
方法or属性:function getCfgFiles(relPath: string): Promise<Array<string>>;
旧版本信息:
类名:configPolicy;
方法or属性:function getCfgFiles(relPath: string): Promise<Array<string>>;
新版本信息:401
@ohos.configPolicy.d.ts
新增(错误码) 类名:configPolicy;
方法or属性:function getCfgDirList(callback: AsyncCallback<Array<string>>);
旧版本信息:
类名:configPolicy;
方法or属性:function getCfgDirList(callback: AsyncCallback<Array<string>>);
新版本信息:401
@ohos.configPolicy.d.ts
新增(错误码) 类名:configPolicy;
方法or属性:function getCfgDirList(): Promise<Array<string>>;
旧版本信息:
类名:configPolicy;
方法or属性:function getCfgDirList(): Promise<Array<string>>;
新版本信息:401
@ohos.configPolicy.d.ts
访问级别有变化 类名:configPolicy;
方法or属性:declare configPolicy
旧版本信息:
类名:configPolicy;
方法or属性:declare configPolicy
新版本信息:systemapi
@ohos.configPolicy.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API差异报告

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

0  赞