• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1| 操作 | 旧版本 | 新版本 | d.ts文件 |
2| ---- | ------ | ------ | -------- |
3|新增|NA|类名:privacyManager<br>方法or属性:function getPermissionUsedRecord(request: PermissionUsedRequest): Promise\<PermissionUsedResponse>;|@ohos.privacyManager.d.ts|
4|新增|NA|类名:privacyManager<br>方法or属性:function getPermissionUsedRecord(request: PermissionUsedRequest, callback: AsyncCallback\<PermissionUsedResponse>): void;|@ohos.privacyManager.d.ts|
5|新增|NA|类名:ParamsSpec<br>方法or属性:algName : string;|@ohos.security.cryptoFramework.d.ts|
6|删除|模块名:ohos.privacyManager<br>类名:privacyManager<br>方法 or 属性:function getPermissionUsedRecords(request: PermissionUsedRequest): Promise\<PermissionUsedResponse>;|NA|@ohos.privacyManager.d.ts|
7|删除|模块名:ohos.privacyManager<br>类名:privacyManager<br>方法 or 属性:function getPermissionUsedRecords(request: PermissionUsedRequest, callback: AsyncCallback\<PermissionUsedResponse>): void;|NA|@ohos.privacyManager.d.ts|
8|删除|模块名:ohos.security.cryptoFramework<br>类名:ParamsSpec<br>方法 or 属性:algoName : string;|NA|@ohos.security.cryptoFramework.d.ts|
9|删除|模块名: ohos.security.huks<br>类名: HuksErrorCode<br>方法 or 属性:HUKS_ERROR_GET_USERIAM_SECINFO_FAILED = -40|NA|@ohos.security.huks.d.ts|
10|删除|模块名: ohos.security.huks<br>类名: HuksErrorCode<br>方法 or 属性:HUKS_ERROR_GET_USERIAM_AUTHINFO_FAILED = -41|NA|@ohos.security.huks.d.ts|
11|删除|模块名: ohos.security.huks<br>类名: HuksErrorCode<br>方法 or 属性:HUKS_ERROR_USER_AUTH_TYPE_NOT_SUPPORT = -42|NA|@ohos.security.huks.d.ts|
12|删除|模块名: ohos.security.huks<br>类名: HuksErrorCode<br>方法 or 属性:HUKS_ERROR_KEY_AUTH_FAILED = -43|NA|@ohos.security.huks.d.ts|
13|删除|模块名: ohos.security.huks<br>类名: HuksErrorCode<br>方法 or 属性:HUKS_ERROR_DEVICE_NO_CREDENTIAL = -44|NA|@ohos.security.huks.d.ts|
14|删除|模块名: ohos.security.huks<br>类名: HuksErrorCode<br>方法 or 属性:HUKS_ERROR_INVALID_WRAPPED_FORMAT = -126|NA|@ohos.security.huks.d.ts|
15|删除|模块名: ohos.security.huks<br>类名: HuksErrorCode<br>方法 or 属性:HUKS_ERROR_INVALID_USAGE_OF_KEY = -127|NA|@ohos.security.huks.d.ts|
16|函数有变化|类名:AtManager<br>方法 or 属性:requestPermissionsFromUser(context: Context, permissions: Array\<Permissions>, requestCallback: AsyncCallback\<PermissionRequestResult>) : void;<br>|类名:AtManager<br>方法 or 属性:requestPermissionsFromUser(context: Context, permissionList: Array\<Permissions>, requestCallback: AsyncCallback\<PermissionRequestResult>) : void;<br>|@ohos.abilityAccessCtrl.d.ts|
17|函数有变化|类名:AtManager<br>方法 or 属性:requestPermissionsFromUser(context: Context, permissions: Array\<Permissions>) : Promise\<PermissionRequestResult>;<br>|类名:AtManager<br>方法 or 属性:requestPermissionsFromUser(context: Context, permissionList: Array\<Permissions>) : Promise\<PermissionRequestResult>;<br>|@ohos.abilityAccessCtrl.d.ts|
18|函数有变化|类名:AtManager<br>方法 or 属性:grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise\<void>;<br>|类名:AtManager<br>方法 or 属性:grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise\<void>;<br>|@ohos.abilityAccessCtrl.d.ts|
19|函数有变化|类名:AtManager<br>方法 or 属性:grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback\<void>): void;<br>|类名:AtManager<br>方法 or 属性:grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number, callback: AsyncCallback\<void>): void;<br>|@ohos.abilityAccessCtrl.d.ts|
20|函数有变化|类名:AtManager<br>方法 or 属性:revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise\<void>;<br>|类名:AtManager<br>方法 or 属性:revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise\<void>;<br>|@ohos.abilityAccessCtrl.d.ts|
21|函数有变化|类名:AtManager<br>方法 or 属性:revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback\<void>): void;<br>|类名:AtManager<br>方法 or 属性:revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number, callback: AsyncCallback\<void>): void;<br>|@ohos.abilityAccessCtrl.d.ts|
22|函数有变化|类名:AtManager<br>方法 or 属性:on(type: 'permissionStateChange', tokenIDList: Array\<number>, permissionNameList: Array\<Permissions>, callback: Callback\<PermissionStateChangeInfo>): void;<br>|类名:AtManager<br>方法 or 属性:on(type: 'permissionStateChange', tokenIDList: Array\<number>, permissionList: Array\<Permissions>, callback: Callback\<PermissionStateChangeInfo>): void;<br>|@ohos.abilityAccessCtrl.d.ts|
23|函数有变化|类名:AtManager<br>方法 or 属性:off(type: 'permissionStateChange', tokenIDList: Array\<number>, permissionNameList: Array\<Permissions>, callback?: Callback\<PermissionStateChangeInfo>): void;<br>|类名:AtManager<br>方法 or 属性:off(type: 'permissionStateChange', tokenIDList: Array\<number>, permissionList: Array\<Permissions>, callback?: Callback\<PermissionStateChangeInfo>): void;<br>|@ohos.abilityAccessCtrl.d.ts|
24|函数有变化|类名:privacyManager<br>方法 or 属性:function on(type: 'activeStateChange', permissionNameList: Array\<Permissions>, callback: Callback\<ActiveChangeResponse>): void;<br>|类名:privacyManager<br>方法 or 属性:function on(type: 'activeStateChange', permissionList: Array\<Permissions>, callback: Callback\<ActiveChangeResponse>): void;<br>|@ohos.privacyManager.d.ts|
25|函数有变化|类名:privacyManager<br>方法 or 属性:function off(type: 'activeStateChange', permissionNameList: Array\<Permissions>, callback?: Callback\<ActiveChangeResponse>): void;<br>|类名:privacyManager<br>方法 or 属性:function off(type: 'activeStateChange', permissionList: Array\<Permissions>, callback?: Callback\<ActiveChangeResponse>): void;<br>|@ohos.privacyManager.d.ts|
26