harmony 鸿蒙js-apidiff-security

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

Change Type Old Version New Version d.ts File
Added NA Class name: privacyManager
Method or attribute name: function getPermissionUsedRecord(request: PermissionUsedRequest): Promise<PermissionUsedResponse>;
@ohos.privacyManager.d.ts
Added NA Class name: privacyManager
Method or attribute name: function getPermissionUsedRecord(request: PermissionUsedRequest, callback: AsyncCallback<PermissionUsedResponse>): void;
@ohos.privacyManager.d.ts
Added NA Class name: ParamsSpec
Method or attribute name: algName : string;
@ohos.security.cryptoFramework.d.ts
Deleted Module name: ohos.privacyManager
Class name: privacyManager
Method or attribute name: function getPermissionUsedRecords(request: PermissionUsedRequest): Promise<PermissionUsedResponse>;
NA @ohos.privacyManager.d.ts
Deleted Module name: ohos.privacyManager
Class name: privacyManager
Method or attribute name: function getPermissionUsedRecords(request: PermissionUsedRequest, callback: AsyncCallback<PermissionUsedResponse>): void;
NA @ohos.privacyManager.d.ts
Deleted Module name: ohos.security.cryptoFramework
Class name: ParamsSpec
Method or attribute name: algoName : string;
NA @ohos.security.cryptoFramework.d.ts
Deleted Module name: ohos.security.huks
Class name: HuksErrorCode
Method or attribute name: HUKS_ERROR_GET_USERIAM_SECINFO_FAILED = -40
NA @ohos.security.huks.d.ts
Deleted Module name: ohos.security.huks
Class name: HuksErrorCode
Method or attribute name: HUKS_ERROR_GET_USERIAM_AUTHINFO_FAILED = -41
NA @ohos.security.huks.d.ts
Deleted Module name: ohos.security.huks
Class name: HuksErrorCode
Method or attribute name: HUKS_ERROR_USER_AUTH_TYPE_NOT_SUPPORT = -42
NA @ohos.security.huks.d.ts
Deleted Module name: ohos.security.huks
Class name: HuksErrorCode
Method or attribute name: HUKS_ERROR_KEY_AUTH_FAILED = -43
NA @ohos.security.huks.d.ts
Deleted Module name: ohos.security.huks
Class name: HuksErrorCode
Method or attribute name: HUKS_ERROR_DEVICE_NO_CREDENTIAL = -44
NA @ohos.security.huks.d.ts
Deleted Module name: ohos.security.huks
Class name: HuksErrorCode
Method or attribute name: HUKS_ERROR_INVALID_WRAPPED_FORMAT = -126
NA @ohos.security.huks.d.ts
Deleted Module name: ohos.security.huks
Class name: HuksErrorCode
Method or attribute name: HUKS_ERROR_INVALID_USAGE_OF_KEY = -127
NA @ohos.security.huks.d.ts
Function changed Class name: AtManager
Method or attribute name: requestPermissionsFromUser(context: Context, permissions: Array<Permissions>, requestCallback: AsyncCallback<PermissionRequestResult>) : void;
Class name: AtManager
Method or attribute name: requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>, requestCallback: AsyncCallback<PermissionRequestResult>) : void;
@ohos.abilityAccessCtrl.d.ts
Function changed Class name: AtManager
Method or attribute name: requestPermissionsFromUser(context: Context, permissions: Array<Permissions>) : Promise<PermissionRequestResult>;
Class name: AtManager
Method or attribute name: requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>) : Promise<PermissionRequestResult>;
@ohos.abilityAccessCtrl.d.ts
Function changed Class name: AtManager
Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise<void>;
Class name: AtManager
Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise<void>;
@ohos.abilityAccessCtrl.d.ts
Function changed Class name: AtManager
Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback<void>): void;
Class name: AtManager
Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number, callback: AsyncCallback<void>): void;
@ohos.abilityAccessCtrl.d.ts
Function changed Class name: AtManager
Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise<void>;
Class name: AtManager
Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise<void>;
@ohos.abilityAccessCtrl.d.ts
Function changed Class name: AtManager
Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback<void>): void;
Class name: AtManager
Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number, callback: AsyncCallback<void>): void;
@ohos.abilityAccessCtrl.d.ts
Function changed Class name: AtManager
Method or attribute name: on(type: ‘permissionStateChange’, tokenIDList: Array<number>, permissionNameList: Array<Permissions>, callback: Callback<PermissionStateChangeInfo>): void;
Class name: AtManager
Method or attribute name: on(type: ‘permissionStateChange’, tokenIDList: Array<number>, permissionList: Array<Permissions>, callback: Callback<PermissionStateChangeInfo>): void;
@ohos.abilityAccessCtrl.d.ts
Function changed Class name: AtManager
Method or attribute name: off(type: ‘permissionStateChange’, tokenIDList: Array<number>, permissionNameList: Array<Permissions>, callback?: Callback<PermissionStateChangeInfo>): void;
Class name: AtManager
Method or attribute name: off(type: ‘permissionStateChange’, tokenIDList: Array<number>, permissionList: Array<Permissions>, callback?: Callback<PermissionStateChangeInfo>): void;
@ohos.abilityAccessCtrl.d.ts
Function changed Class name: privacyManager
Method or attribute name: function on(type: ‘activeStateChange’, permissionNameList: Array<Permissions>, callback: Callback<ActiveChangeResponse>): void;
Class name: privacyManager
Method or attribute name: function on(type: ‘activeStateChange’, permissionList: Array<Permissions>, callback: Callback<ActiveChangeResponse>): void;
@ohos.privacyManager.d.ts
Function changed Class name: privacyManager
Method or attribute name: function off(type: ‘activeStateChange’, permissionNameList: Array<Permissions>, callback?: Callback<ActiveChangeResponse>): void;
Class name: privacyManager
Method or attribute name: function off(type: ‘activeStateChange’, permissionList: Array<Permissions>, callback?: Callback<ActiveChangeResponse>): void;
@ohos.privacyManager.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

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  赞