openharmony 鸿蒙 js-apidiff-account

2023-06-24 浏览 (618)
操作旧版本新版本d.ts文件
新增NA类名:Authenticator
方法or属性:checkAccountRemovable(name: string, callback: AuthCallback): void;
@ohos.account.appAccount.d.ts
新增NA类名:AccountManager
方法or属性:checkOsAccountConstraintEnabled(localId: number, constraint: string, callback: AsyncCallback<boolean>): void;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:checkOsAccountConstraintEnabled(localId: number, constraint: string): Promise<boolean>;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getOsAccountLocalId(callback: AsyncCallback<number>): void;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getOsAccountLocalId(): Promise<number>;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getOsAccountLocalIdForUid(uid: number, callback: AsyncCallback<number>): void;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getOsAccountLocalIdForUid(uid: number): Promise<number>;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getOsAccountLocalIdForDomain(domainInfo: DomainAccountInfo, callback: AsyncCallback<number>): void;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getOsAccountLocalIdForDomain(domainInfo: DomainAccountInfo): Promise<number>;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getActivatedOsAccountLocalIds(callback: AsyncCallback<Array<number>>): void;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getActivatedOsAccountLocalIds(): Promise<Array<number>>;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getOsAccountLocalIdForSerialNumber(serialNumber: number, callback: AsyncCallback<number>): void;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getOsAccountLocalIdForSerialNumber(serialNumber: number): Promise<number>;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getSerialNumberForOsAccountLocalId(localId: number, callback: AsyncCallback<number>): void;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getSerialNumberForOsAccountLocalId(localId: number): Promise<number>;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getBundleIdForUid(uid: number, callback: AsyncCallback<number>): void;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getBundleIdForUid(uid: number): Promise<number>;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getOsAccountConstraintSourceTypes(localId: number, constraint: string, callback: AsyncCallback<Array<ConstraintSourceTypeInfo>>): void;
@ohos.account.osAccount.d.ts
新增NA类名:AccountManager
方法or属性:getOsAccountConstraintSourceTypes(localId: number, constraint: string): Promise<Array<ConstraintSourceTypeInfo>>;
@ohos.account.osAccount.d.ts
删除模块名: ohos.account.appAccount
类名: OAuthTokenInfo
方法 or 属性:account?: AppAccountInfo;
NA@ohos.account.appAccount.d.ts
删除模块名: ohos.account.appAccount
类名: AuthenticatorCallback
方法 or 属性:onRequestContinued?: () => void;
NA@ohos.account.appAccount.d.ts
删除模块名:ohos.account.appAccount
类名:Authenticator
方法 or 属性:isAccountRemovable(name: string, callback: AuthCallback): void;
NA@ohos.account.appAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:checkConstraintEnabled(localId: number, constraint: string, callback: AsyncCallback<boolean>): void;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:checkConstraintEnabled(localId: number, constraint: string): Promise<boolean>;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdFromProcess(callback: AsyncCallback<number>): void;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdFromProcess(): Promise<number>;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdFromUid(uid: number, callback: AsyncCallback<number>): void;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdFromUid(uid: number): Promise<number>;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo, callback: AsyncCallback<number>): void;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo): Promise<number>;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:getActivatedOsAccountIds(callback: AsyncCallback<Array<number>>): void;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:getActivatedOsAccountIds(): Promise<Array<number>>;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdBySerialNumber(serialNumber: number, callback: AsyncCallback<number>): void;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdBySerialNumber(serialNumber: number): Promise<number>;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:querySerialNumberByOsAccountLocalId(localId: number, callback: AsyncCallback<number>): void;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:querySerialNumberByOsAccountLocalId(localId: number): Promise<number>;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:getBundleIdFromUid(uid: number, callback: AsyncCallback<number>): void;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:getBundleIdFromUid(uid: number): Promise<number>;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountConstraintSourceTypes(localId: number, constraint: string, callback: AsyncCallback<Array<ConstraintSourceTypeInfo>>): void;
NA@ohos.account.osAccount.d.ts
删除模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountConstraintSourceTypes(localId: number, constraint: string): Promise<Array<ConstraintSourceTypeInfo>>;
NA@ohos.account.osAccount.d.ts
起始版本有变化类名:ConstraintSourceType
方法 or 属性:CONSTRAINT_NOT_EXIST = 0
起始版本:N/A
类名:ConstraintSourceType
方法 or 属性:CONSTRAINT_NOT_EXIST = 0
起始版本:9
@ohos.account.osAccount.d.ts
起始版本有变化类名:ConstraintSourceType
方法 or 属性:CONSTRAINT_TYPE_BASE = 1
起始版本:N/A
类名:ConstraintSourceType
方法 or 属性:CONSTRAINT_TYPE_BASE = 1
起始版本:9
@ohos.account.osAccount.d.ts
起始版本有变化类名:ConstraintSourceType
方法 or 属性:CONSTRAINT_TYPE_DEVICE_OWNER = 2
起始版本:N/A
类名:ConstraintSourceType
方法 or 属性:CONSTRAINT_TYPE_DEVICE_OWNER = 2
起始版本:9
@ohos.account.osAccount.d.ts
起始版本有变化类名:ConstraintSourceType
方法 or 属性:CONSTRAINT_TYPE_PROFILE_OWNER = 3
起始版本:N/A
类名:ConstraintSourceType
方法 or 属性:CONSTRAINT_TYPE_PROFILE_OWNER = 3
起始版本:9
@ohos.account.osAccount.d.ts
起始版本有变化类名:ConstraintSourceTypeInfo
方法 or 属性:localId: number;
起始版本:N/A
类名:ConstraintSourceTypeInfo
方法 or 属性:localId: number;
起始版本:9
@ohos.account.osAccount.d.ts
起始版本有变化类名:ConstraintSourceTypeInfo
方法 or 属性:type: ConstraintSourceType;
起始版本:N/A
类名:ConstraintSourceTypeInfo
方法 or 属性:type: ConstraintSourceType;
起始版本:9
@ohos.account.osAccount.d.ts
删除(权限)类名:AccountManager
方法 or 属性:checkOsAccountVerified(callback: AsyncCallback<boolean>): void;
权限:ohos.permission.MANAGE_LOCAL_ACCOUNTS or ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS
类名:AccountManager
方法 or 属性:checkOsAccountVerified(callback: AsyncCallback<boolean>): void;
权限:N/A
@ohos.account.osAccount.d.ts
新增(错误码)NA类名:PINAuth
方法 or 属性:unregisterInputer(): void;
错误码内容: 201
@ohos.account.osAccount.d.ts
新增(错误码)NA类名:UserIdentityManager
方法 or 属性:closeSession(): void;
错误码内容: 201
@ohos.account.osAccount.d.ts
函数有变化类名:AccountManager
方法 or 属性:checkOsAccountVerified(localId?: number): Promise<boolean>;
类名:AccountManager
方法 or 属性:checkOsAccountVerified(): Promise<boolean>;
@ohos.account.osAccount.d.ts
函数有变化类名:AccountManager
方法 or 属性:checkOsAccountVerified(localId?: number): Promise<boolean>;
类名:AccountManager
方法 or 属性:checkOsAccountVerified(localId: number): Promise<boolean>;
@ohos.account.osAccount.d.ts
函数有变化类名:IInputData
方法 or 属性:onSetData: (pinSubType: AuthSubType, data: Uint8Array) => void;
类名:IInputData
方法 or 属性:onSetData: (authSubType: AuthSubType, data: Uint8Array) => void;
@ohos.account.osAccount.d.ts
函数有变化类名:IInputer
方法 or 属性:onGetData: (pinSubType: AuthSubType, callback: IInputData) => void;
类名:IInputer
方法 or 属性:onGetData: (authSubType: AuthSubType, callback: IInputData) => void;
@ohos.account.osAccount.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API差异报告

harmony 鸿蒙js-apidiff-ability

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

harmony 鸿蒙js-apidiff-distributed-data

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/6821c2bee9024c4db0969124b27e85bb