| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:adminManager;
方法or属性:function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback\): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId: number, callback: AsyncCallback\): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId?: number): Promise\;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function disableAdmin(admin: Want, callback: AsyncCallback\): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function disableAdmin(admin: Want, userId: number, callback: AsyncCallback\): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function disableAdmin(admin: Want, userId?: number): Promise\;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function disableSuperAdmin(bundleName: String, callback: AsyncCallback\): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function disableSuperAdmin(bundleName: String): Promise\;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function isAdminEnabled(admin: Want, callback: AsyncCallback\): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function isAdminEnabled(admin: Want, userId: number, callback: AsyncCallback\): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function isAdminEnabled(admin: Want, userId?: number): Promise\;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function getEnterpriseInfo(admin: Want, callback: AsyncCallback\): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function getEnterpriseInfo(admin: Want): Promise\;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo, callback: AsyncCallback\): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo): Promise\;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function isSuperAdmin(bundleName: String, callback: AsyncCallback\): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function isSuperAdmin(bundleName: String): Promise\;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function subscribeManagedEvent(admin: Want, managedEvents: Array\, callback: AsyncCallback\): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function subscribeManagedEvent(admin: Want, managedEvents: Array\): Promise\;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function unsubscribeManagedEvent(admin: Want, managedEvents: Array\, callback: AsyncCallback\): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;
方法or属性:function unsubscribeManagedEvent(admin: Want, managedEvents: Array\): Promise\;|@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;|@ohos.enterprise.dateTimeManager.d.ts|
|新增|NA|类名:dateTimeManager;
方法or属性:function setDateTime(admin: Want, time: number): Promise\;|@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\);
旧版本信息:|类名:configPolicy;
方法or属性:function getOneCfgFile(relPath: string, callback: AsyncCallback\);
新版本信息:401|@ohos.configPolicy.d.ts|
|新增(错误码)|类名:configPolicy;
方法or属性:function getOneCfgFile(relPath: string): Promise\;
旧版本信息:|类名:configPolicy;
方法or属性:function getOneCfgFile(relPath: string): Promise\;
新版本信息:401|@ohos.configPolicy.d.ts|
|新增(错误码)|类名:configPolicy;
方法or属性:function getCfgFiles(relPath: string, callback: AsyncCallback\>);
旧版本信息:|类名:configPolicy;
方法or属性:function getCfgFiles(relPath: string, callback: AsyncCallback\>);
新版本信息:401|@ohos.configPolicy.d.ts|
|新增(错误码)|类名:configPolicy;
方法or属性:function getCfgFiles(relPath: string): Promise\>;
旧版本信息:|类名:configPolicy;
方法or属性:function getCfgFiles(relPath: string): Promise\>;
新版本信息:401|@ohos.configPolicy.d.ts|
|新增(错误码)|类名:configPolicy;
方法or属性:function getCfgDirList(callback: AsyncCallback\>);
旧版本信息:|类名:configPolicy;
方法or属性:function getCfgDirList(callback: AsyncCallback\>);
新版本信息:401|@ohos.configPolicy.d.ts|
|新增(错误码)|类名:configPolicy;
方法or属性:function getCfgDirList(): Promise\>;
旧版本信息:|类名:configPolicy;
方法or属性:function getCfgDirList(): Promise\>;
新版本信息:401|@ohos.configPolicy.d.ts|
|访问级别有变化|类名:configPolicy;
方法or属性:declare configPolicy
旧版本信息:|类名:configPolicy;
方法or属性:declare configPolicy
新版本信息:systemapi|@ohos.configPolicy.d.ts|