| 操作 | 旧版本 | 新版本 | 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\): void;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:checkOsAccountConstraintEnabled(localId: number, constraint: string): Promise\;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getOsAccountLocalId(callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getOsAccountLocalId(): Promise\;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getOsAccountLocalIdForUid(uid: number, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getOsAccountLocalIdForUid(uid: number): Promise\;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getOsAccountLocalIdForDomain(domainInfo: DomainAccountInfo, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getOsAccountLocalIdForDomain(domainInfo: DomainAccountInfo): Promise\;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getActivatedOsAccountLocalIds(callback: AsyncCallback\>): void;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getActivatedOsAccountLocalIds(): Promise\>;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getOsAccountLocalIdForSerialNumber(serialNumber: number, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getOsAccountLocalIdForSerialNumber(serialNumber: number): Promise\;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getSerialNumberForOsAccountLocalId(localId: number, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getSerialNumberForOsAccountLocalId(localId: number): Promise\;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getBundleIdForUid(uid: number, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getBundleIdForUid(uid: number): Promise\;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getOsAccountConstraintSourceTypes(localId: number, constraint: string, callback: AsyncCallback\>): void;|@ohos.account.osAccount.d.ts| |新增|NA|类名:AccountManager
方法or属性:getOsAccountConstraintSourceTypes(localId: number, constraint: string): Promise\>;|@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\): void;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:checkConstraintEnabled(localId: number, constraint: string): Promise\;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdFromProcess(callback: AsyncCallback\): void;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdFromProcess(): Promise\;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdFromUid(uid: number, callback: AsyncCallback\): void;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdFromUid(uid: number): Promise\;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo, callback: AsyncCallback\): void;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo): Promise\;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:getActivatedOsAccountIds(callback: AsyncCallback\>): void;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:getActivatedOsAccountIds(): Promise\>;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdBySerialNumber(serialNumber: number, callback: AsyncCallback\): void;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountLocalIdBySerialNumber(serialNumber: number): Promise\;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:querySerialNumberByOsAccountLocalId(localId: number, callback: AsyncCallback\): void;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:querySerialNumberByOsAccountLocalId(localId: number): Promise\;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:getBundleIdFromUid(uid: number, callback: AsyncCallback\): void;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:getBundleIdFromUid(uid: number): Promise\;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountConstraintSourceTypes(localId: number, constraint: string, callback: AsyncCallback\>): void;|NA|@ohos.account.osAccount.d.ts| |删除|模块名:ohos.account.osAccount
类名:AccountManager
方法 or 属性:queryOsAccountConstraintSourceTypes(localId: number, constraint: string): Promise\>;|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\): void;
权限:ohos.permission.MANAGE_LOCAL_ACCOUNTS or ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS|类名:AccountManager
方法 or 属性:checkOsAccountVerified(callback: AsyncCallback\): 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\;
|类名:AccountManager
方法 or 属性:checkOsAccountVerified(): Promise\;
|@ohos.account.osAccount.d.ts| |函数有变化|类名:AccountManager
方法 or 属性:checkOsAccountVerified(localId?: number): Promise\;
|类名:AccountManager
方法 or 属性:checkOsAccountVerified(localId: number): Promise\;
|@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|