• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager|@ohos.enterprise.adminManager.d.ts|
4|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: EnterpriseInfo|@ohos.enterprise.adminManager.d.ts|
5|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: EnterpriseInfo<br>Method or attribute name: name: string;|@ohos.enterprise.adminManager.d.ts|
6|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: EnterpriseInfo<br>Method or attribute name: description: string;|@ohos.enterprise.adminManager.d.ts|
7|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: AdminType|@ohos.enterprise.adminManager.d.ts|
8|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: AdminType<br>Method or attribute name: ADMIN_TYPE_NORMAL = 0x00|@ohos.enterprise.adminManager.d.ts|
9|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: AdminType<br>Method or attribute name: ADMIN_TYPE_SUPER = 0x01|@ohos.enterprise.adminManager.d.ts|
10|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: ManagedEvent|@ohos.enterprise.adminManager.d.ts|
11|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: ManagedEvent<br>Method or attribute name: MANAGED_EVENT_BUNDLE_ADDED = 0|@ohos.enterprise.adminManager.d.ts|
12|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: ManagedEvent<br>Method or attribute name: MANAGED_EVENT_BUNDLE_REMOVED = 1|@ohos.enterprise.adminManager.d.ts|
13|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
14|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
15|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId?: number): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
16|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function disableAdmin(admin: Want, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
17|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function disableAdmin(admin: Want, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
18|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function disableAdmin(admin: Want, userId?: number): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
19|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function disableSuperAdmin(bundleName: String, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
20|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function disableSuperAdmin(bundleName: String): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
21|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function isAdminEnabled(admin: Want, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.adminManager.d.ts|
22|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function isAdminEnabled(admin: Want, userId: number, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.adminManager.d.ts|
23|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function isAdminEnabled(admin: Want, userId?: number): Promise\<boolean>;|@ohos.enterprise.adminManager.d.ts|
24|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function getEnterpriseInfo(admin: Want, callback: AsyncCallback\<EnterpriseInfo>): void;|@ohos.enterprise.adminManager.d.ts|
25|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function getEnterpriseInfo(admin: Want): Promise\<EnterpriseInfo>;|@ohos.enterprise.adminManager.d.ts|
26|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
27|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
28|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function isSuperAdmin(bundleName: String, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.adminManager.d.ts|
29|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function isSuperAdmin(bundleName: String): Promise\<boolean>;|@ohos.enterprise.adminManager.d.ts|
30|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function subscribeManagedEvent(admin: Want, managedEvents: Array\<ManagedEvent>, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
31|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function subscribeManagedEvent(admin: Want, managedEvents: Array\<ManagedEvent>): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
32|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function unsubscribeManagedEvent(admin: Want, managedEvents: Array\<ManagedEvent>, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
33|Added|NA|Module name: ohos.enterprise.adminManager<br>Class name: adminManager<br>Method or attribute name: function unsubscribeManagedEvent(admin: Want, managedEvents: Array\<ManagedEvent>): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
34|Added|NA|Module name: ohos.enterprise.dateTimeManager<br>Class name: dateTimeManager|@ohos.enterprise.dateTimeManager.d.ts|
35|Added|NA|Module name: ohos.enterprise.dateTimeManager<br>Class name: dateTimeManager<br>Method or attribute name: function setDateTime(admin: Want, time: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.dateTimeManager.d.ts|
36|Added|NA|Module name: ohos.enterprise.dateTimeManager<br>Class name: dateTimeManager<br>Method or attribute name: function setDateTime(admin: Want, time: number): Promise\<void>;|@ohos.enterprise.dateTimeManager.d.ts|
37|Added|NA|Module name: ohos.enterprise.EnterpriseAdminExtensionAbility<br>Class name: EnterpriseAdminExtensionAbility|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
38|Added|NA|Module name: ohos.enterprise.EnterpriseAdminExtensionAbility<br>Class name: EnterpriseAdminExtensionAbility<br>Method or attribute name: onAdminEnabled(): void;|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
39|Added|NA|Module name: ohos.enterprise.EnterpriseAdminExtensionAbility<br>Class name: EnterpriseAdminExtensionAbility<br>Method or attribute name: onAdminDisabled(): void;|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
40|Added|NA|Module name: ohos.enterprise.EnterpriseAdminExtensionAbility<br>Class name: EnterpriseAdminExtensionAbility<br>Method or attribute name: onBundleAdded(bundleName: string): void;|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
41|Added|NA|Module name: ohos.enterprise.EnterpriseAdminExtensionAbility<br>Class name: EnterpriseAdminExtensionAbility<br>Method or attribute name: onBundleRemoved(bundleName: string): void;|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
42|Access level changed|Class name: configPolicy<br>Access level: public API|Class name: configPolicy<br>Access level: system API|@ohos.configPolicy.d.ts|
43|Error code added|NA|Class name: configPolicy<br>Method or attribute name: function getOneCfgFile(relPath: string, callback: AsyncCallback\<string>);<br>Error code: 401|@ohos.configPolicy.d.ts|
44|Error code added|NA|Class name: configPolicy<br>Method or attribute name: function getOneCfgFile(relPath: string): Promise\<string>;<br>Error code: 401|@ohos.configPolicy.d.ts|
45|Error code added|NA|Class name: configPolicy<br>Method or attribute name: function getCfgFiles(relPath: string, callback: AsyncCallback\<Array\<string>>);<br>Error code: 401|@ohos.configPolicy.d.ts|
46|Error code added|NA|Class name: configPolicy<br>Method or attribute name: function getCfgFiles(relPath: string): Promise\<Array\<string>>;<br>Error code: 401|@ohos.configPolicy.d.ts|
47|Error code added|NA|Class name: configPolicy<br>Method or attribute name: function getCfgDirList(callback: AsyncCallback\<Array\<string>>);<br>Error code: 401|@ohos.configPolicy.d.ts|
48|Error code added|NA|Class name: configPolicy<br>Method or attribute name: function getCfgDirList(): Promise\<Array\<string>>;<br>Error code: 401|@ohos.configPolicy.d.ts|
49