• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Added|NA|Class name: privacyManager<br>Method or attribute name: function getPermissionUsedRecord(request: PermissionUsedRequest): Promise\<PermissionUsedResponse>;|@ohos.privacyManager.d.ts|
4|Added|NA|Class name: privacyManager<br>Method or attribute name: function getPermissionUsedRecord(request: PermissionUsedRequest, callback: AsyncCallback\<PermissionUsedResponse>): void;|@ohos.privacyManager.d.ts|
5|Added|NA|Class name: ParamsSpec<br>Method or attribute name: algName : string;|@ohos.security.cryptoFramework.d.ts|
6|Deleted|Module name: ohos.privacyManager<br>Class name: privacyManager<br>Method or attribute name: function getPermissionUsedRecords(request: PermissionUsedRequest): Promise\<PermissionUsedResponse>;|NA|@ohos.privacyManager.d.ts|
7|Deleted|Module name: ohos.privacyManager<br>Class name: privacyManager<br>Method or attribute name: function getPermissionUsedRecords(request: PermissionUsedRequest, callback: AsyncCallback\<PermissionUsedResponse>): void;|NA|@ohos.privacyManager.d.ts|
8|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: ParamsSpec<br>Method or attribute name: algoName : string;|NA|@ohos.security.cryptoFramework.d.ts|
9|Deleted|Module name: ohos.security.huks<br>Class name: HuksErrorCode<br>Method or attribute name: HUKS_ERROR_GET_USERIAM_SECINFO_FAILED = -40|NA|@ohos.security.huks.d.ts|
10|Deleted|Module name: ohos.security.huks<br>Class name: HuksErrorCode<br>Method or attribute name: HUKS_ERROR_GET_USERIAM_AUTHINFO_FAILED = -41|NA|@ohos.security.huks.d.ts|
11|Deleted|Module name: ohos.security.huks<br>Class name: HuksErrorCode<br>Method or attribute name: HUKS_ERROR_USER_AUTH_TYPE_NOT_SUPPORT = -42|NA|@ohos.security.huks.d.ts|
12|Deleted|Module name: ohos.security.huks<br>Class name: HuksErrorCode<br>Method or attribute name: HUKS_ERROR_KEY_AUTH_FAILED = -43|NA|@ohos.security.huks.d.ts|
13|Deleted|Module name: ohos.security.huks<br>Class name: HuksErrorCode<br>Method or attribute name: HUKS_ERROR_DEVICE_NO_CREDENTIAL = -44|NA|@ohos.security.huks.d.ts|
14|Deleted|Module name: ohos.security.huks<br>Class name: HuksErrorCode<br>Method or attribute name: HUKS_ERROR_INVALID_WRAPPED_FORMAT = -126|NA|@ohos.security.huks.d.ts|
15|Deleted|Module name: ohos.security.huks<br>Class name: HuksErrorCode<br>Method or attribute name: HUKS_ERROR_INVALID_USAGE_OF_KEY = -127|NA|@ohos.security.huks.d.ts|
16|Function changed|Class name: AtManager<br>Method or attribute name: requestPermissionsFromUser(context: Context, permissions: Array\<Permissions>, requestCallback: AsyncCallback\<PermissionRequestResult>) : void;<br>|Class name: AtManager<br>Method or attribute name: requestPermissionsFromUser(context: Context, permissionList: Array\<Permissions>, requestCallback: AsyncCallback\<PermissionRequestResult>) : void;<br>|@ohos.abilityAccessCtrl.d.ts|
17|Function changed|Class name: AtManager<br>Method or attribute name: requestPermissionsFromUser(context: Context, permissions: Array\<Permissions>) : Promise\<PermissionRequestResult>;<br>|Class name: AtManager<br>Method or attribute name: requestPermissionsFromUser(context: Context, permissionList: Array\<Permissions>) : Promise\<PermissionRequestResult>;<br>|@ohos.abilityAccessCtrl.d.ts|
18|Function changed|Class name: AtManager<br>Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise\<void>;<br>|Class name: AtManager<br>Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise\<void>;<br>|@ohos.abilityAccessCtrl.d.ts|
19|Function changed|Class name: AtManager<br>Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback\<void>): void;<br>|Class name: AtManager<br>Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number, callback: AsyncCallback\<void>): void;<br>|@ohos.abilityAccessCtrl.d.ts|
20|Function changed|Class name: AtManager<br>Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise\<void>;<br>|Class name: AtManager<br>Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise\<void>;<br>|@ohos.abilityAccessCtrl.d.ts|
21|Function changed|Class name: AtManager<br>Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback\<void>): void;<br>|Class name: AtManager<br>Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number, callback: AsyncCallback\<void>): void;<br>|@ohos.abilityAccessCtrl.d.ts|
22|Function changed|Class name: AtManager<br>Method or attribute name: on(type: 'permissionStateChange', tokenIDList: Array\<number>, permissionNameList: Array\<Permissions>, callback: Callback\<PermissionStateChangeInfo>): void;<br>|Class name: AtManager<br>Method or attribute name: on(type: 'permissionStateChange', tokenIDList: Array\<number>, permissionList: Array\<Permissions>, callback: Callback\<PermissionStateChangeInfo>): void;<br>|@ohos.abilityAccessCtrl.d.ts|
23|Function changed|Class name: AtManager<br>Method or attribute name: off(type: 'permissionStateChange', tokenIDList: Array\<number>, permissionNameList: Array\<Permissions>, callback?: Callback\<PermissionStateChangeInfo>): void;<br>|Class name: AtManager<br>Method or attribute name: off(type: 'permissionStateChange', tokenIDList: Array\<number>, permissionList: Array\<Permissions>, callback?: Callback\<PermissionStateChangeInfo>): void;<br>|@ohos.abilityAccessCtrl.d.ts|
24|Function changed|Class name: privacyManager<br>Method or attribute name: function on(type: 'activeStateChange', permissionNameList: Array\<Permissions>, callback: Callback\<ActiveChangeResponse>): void;<br>|Class name: privacyManager<br>Method or attribute name: function on(type: 'activeStateChange', permissionList: Array\<Permissions>, callback: Callback\<ActiveChangeResponse>): void;<br>|@ohos.privacyManager.d.ts|
25|Function changed|Class name: privacyManager<br>Method or attribute name: function off(type: 'activeStateChange', permissionNameList: Array\<Permissions>, callback?: Callback\<ActiveChangeResponse>): void;<br>|Class name: privacyManager<br>Method or attribute name: function off(type: 'activeStateChange', permissionList: Array\<Permissions>, callback?: Callback\<ActiveChangeResponse>): void;<br>|@ohos.privacyManager.d.ts|
26