harmony 鸿蒙js-apidiff-security

  • 2023-06-24
  • 浏览 (533)

操作 旧版本 新版本 d.ts文件
新增 NA 类名:privacyManager
方法or属性:function getPermissionUsedRecord(request: PermissionUsedRequest): Promise<PermissionUsedResponse>;
@ohos.privacyManager.d.ts
新增 NA 类名:privacyManager
方法or属性:function getPermissionUsedRecord(request: PermissionUsedRequest, callback: AsyncCallback<PermissionUsedResponse>): void;
@ohos.privacyManager.d.ts
新增 NA 类名:ParamsSpec
方法or属性:algName : string;
@ohos.security.cryptoFramework.d.ts
删除 模块名:ohos.privacyManager
类名:privacyManager
方法 or 属性:function getPermissionUsedRecords(request: PermissionUsedRequest): Promise<PermissionUsedResponse>;
NA @ohos.privacyManager.d.ts
删除 模块名:ohos.privacyManager
类名:privacyManager
方法 or 属性:function getPermissionUsedRecords(request: PermissionUsedRequest, callback: AsyncCallback<PermissionUsedResponse>): void;
NA @ohos.privacyManager.d.ts
删除 模块名:ohos.security.cryptoFramework
类名:ParamsSpec
方法 or 属性:algoName : string;
NA @ohos.security.cryptoFramework.d.ts
删除 模块名: ohos.security.huks
类名: HuksErrorCode
方法 or 属性:HUKS_ERROR_GET_USERIAM_SECINFO_FAILED = -40
NA @ohos.security.huks.d.ts
删除 模块名: ohos.security.huks
类名: HuksErrorCode
方法 or 属性:HUKS_ERROR_GET_USERIAM_AUTHINFO_FAILED = -41
NA @ohos.security.huks.d.ts
删除 模块名: ohos.security.huks
类名: HuksErrorCode
方法 or 属性:HUKS_ERROR_USER_AUTH_TYPE_NOT_SUPPORT = -42
NA @ohos.security.huks.d.ts
删除 模块名: ohos.security.huks
类名: HuksErrorCode
方法 or 属性:HUKS_ERROR_KEY_AUTH_FAILED = -43
NA @ohos.security.huks.d.ts
删除 模块名: ohos.security.huks
类名: HuksErrorCode
方法 or 属性:HUKS_ERROR_DEVICE_NO_CREDENTIAL = -44
NA @ohos.security.huks.d.ts
删除 模块名: ohos.security.huks
类名: HuksErrorCode
方法 or 属性:HUKS_ERROR_INVALID_WRAPPED_FORMAT = -126
NA @ohos.security.huks.d.ts
删除 模块名: ohos.security.huks
类名: HuksErrorCode
方法 or 属性:HUKS_ERROR_INVALID_USAGE_OF_KEY = -127
NA @ohos.security.huks.d.ts
函数有变化 类名:AtManager
方法 or 属性:requestPermissionsFromUser(context: Context, permissions: Array<Permissions>, requestCallback: AsyncCallback<PermissionRequestResult>) : void;
类名:AtManager
方法 or 属性:requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>, requestCallback: AsyncCallback<PermissionRequestResult>) : void;
@ohos.abilityAccessCtrl.d.ts
函数有变化 类名:AtManager
方法 or 属性:requestPermissionsFromUser(context: Context, permissions: Array<Permissions>) : Promise<PermissionRequestResult>;
类名:AtManager
方法 or 属性:requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>) : Promise<PermissionRequestResult>;
@ohos.abilityAccessCtrl.d.ts
函数有变化 类名:AtManager
方法 or 属性:grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise<void>;
类名:AtManager
方法 or 属性:grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise<void>;
@ohos.abilityAccessCtrl.d.ts
函数有变化 类名:AtManager
方法 or 属性:grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback<void>): void;
类名:AtManager
方法 or 属性:grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number, callback: AsyncCallback<void>): void;
@ohos.abilityAccessCtrl.d.ts
函数有变化 类名:AtManager
方法 or 属性:revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise<void>;
类名:AtManager
方法 or 属性:revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise<void>;
@ohos.abilityAccessCtrl.d.ts
函数有变化 类名:AtManager
方法 or 属性:revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback<void>): void;
类名:AtManager
方法 or 属性:revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number, callback: AsyncCallback<void>): void;
@ohos.abilityAccessCtrl.d.ts
函数有变化 类名:AtManager
方法 or 属性:on(type: ‘permissionStateChange’, tokenIDList: Array<number>, permissionNameList: Array<Permissions>, callback: Callback<PermissionStateChangeInfo>): void;
类名:AtManager
方法 or 属性:on(type: ‘permissionStateChange’, tokenIDList: Array<number>, permissionList: Array<Permissions>, callback: Callback<PermissionStateChangeInfo>): void;
@ohos.abilityAccessCtrl.d.ts
函数有变化 类名:AtManager
方法 or 属性:off(type: ‘permissionStateChange’, tokenIDList: Array<number>, permissionNameList: Array<Permissions>, callback?: Callback<PermissionStateChangeInfo>): void;
类名:AtManager
方法 or 属性:off(type: ‘permissionStateChange’, tokenIDList: Array<number>, permissionList: Array<Permissions>, callback?: Callback<PermissionStateChangeInfo>): void;
@ohos.abilityAccessCtrl.d.ts
函数有变化 类名:privacyManager
方法 or 属性:function on(type: ‘activeStateChange’, permissionNameList: Array<Permissions>, callback: Callback<ActiveChangeResponse>): void;
类名:privacyManager
方法 or 属性:function on(type: ‘activeStateChange’, permissionList: Array<Permissions>, callback: Callback<ActiveChangeResponse>): void;
@ohos.privacyManager.d.ts
函数有变化 类名:privacyManager
方法 or 属性:function off(type: ‘activeStateChange’, permissionNameList: Array<Permissions>, callback?: Callback<ActiveChangeResponse>): void;
类名:privacyManager
方法 or 属性:function off(type: ‘activeStateChange’, permissionList: Array<Permissions>, callback?: Callback<ActiveChangeResponse>): void;
@ohos.privacyManager.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API差异报告

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-dfx

0  赞