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