| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:GetDomainAccountInfoOptions;
方法or属性:accountName: string;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DistributedAccountAbility;
方法or属性:getOsAccountDistributedInfoByLocalId(localId: number, callback: AsyncCallback\): void;|@ohos.account.distributedAccount.d.ts|
|新增|NA|类名:DistributedAccountAbility;
方法or属性:getOsAccountDistributedInfoByLocalId(localId: number): Promise\;|@ohos.account.distributedAccount.d.ts|
|新增|NA|类名:DistributedAccountAbility;
方法or属性:setOsAccountDistributedInfoByLocalId(
localId: number,
distributedInfo: DistributedInfo,
callback: AsyncCallback\
): void;|@ohos.account.distributedAccount.d.ts|
|新增|NA|类名:DistributedAccountAbility;
方法or属性:setOsAccountDistributedInfoByLocalId(localId: number, distributedInfo: DistributedInfo): Promise\;|@ohos.account.distributedAccount.d.ts|
|新增|NA|类名:DistributedAccountStatus;
方法or属性:NOT_LOGGED_IN = 0|@ohos.account.distributedAccount.d.ts|
|新增|NA|类名:DistributedAccountStatus;
方法or属性:LOGGED_IN = 1|@ohos.account.distributedAccount.d.ts|
|新增|NA|类名:DistributedInfo;
方法or属性:readonly status?: DistributedAccountStatus;|@ohos.account.distributedAccount.d.ts|
|新增|NA|类名:AccountManager;
方法or属性:getOsAccountLocalIdForUidSync(uid: number): number;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:AccountManager;
方法or属性:getBundleIdForUidSync(uid: number): number;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainAccountInfo;
方法or属性:accountId?: string;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:AuthStatusInfo;
方法or属性:remainTimes: number;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:AuthStatusInfo;
方法or属性:freezingTime: number;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:GetDomainAccessTokenOptions;
方法or属性:domainAccountInfo: DomainAccountInfo;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:GetDomainAccessTokenOptions;
方法or属性:domainAccountToken: Uint8Array;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:GetDomainAccessTokenOptions;
方法or属性:businessParams: { [key: string]: object };|@ohos.account.osAccount.d.ts|
|新增|NA|类名:GetDomainAccessTokenOptions;
方法or属性:callerUid: number;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:GetDomainAccountInfoPluginOptions;
方法or属性:callerUid: number;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:GetDomainAccountInfoOptions;
方法or属性:domain?: string;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainPlugin;
方法or属性:authWithPopup(domainAccountInfo: DomainAccountInfo, callback: IUserAuthCallback): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainPlugin;
方法or属性:authWithToken(domainAccountInfo: DomainAccountInfo, token: Uint8Array, callback: IUserAuthCallback): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainPlugin;
方法or属性:getAccountInfo(options: GetDomainAccountInfoPluginOptions, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainPlugin;
方法or属性:getAuthStatusInfo(domainAccountInfo: DomainAccountInfo, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainPlugin;
方法or属性:bindAccount(domainAccountInfo: DomainAccountInfo, localId: number, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainPlugin;
方法or属性:unbindAccount(domainAccountInfo: DomainAccountInfo, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainPlugin;
方法or属性:isAccountTokenValid(
domainAccountInfo: DomainAccountInfo,
token: Uint8Array,
callback: AsyncCallback\
): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainPlugin;
方法or属性:getAccessToken(options: GetDomainAccessTokenOptions, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainAccountManager;
方法or属性:static auth(domainAccountInfo: DomainAccountInfo, credential: Uint8Array, callback: IUserAuthCallback): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainAccountManager;
方法or属性:static authWithPopup(callback: IUserAuthCallback): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainAccountManager;
方法or属性:static authWithPopup(localId: number, callback: IUserAuthCallback): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainAccountManager;
方法or属性:static hasAccount(domainAccountInfo: DomainAccountInfo, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainAccountManager;
方法or属性:static hasAccount(domainAccountInfo: DomainAccountInfo): Promise\;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainAccountManager;
方法or属性:static updateAccountToken(
domainAccountInfo: DomainAccountInfo,
token: Uint8Array,
callback: AsyncCallback\
): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainAccountManager;
方法or属性:static updateAccountToken(domainAccountInfo: DomainAccountInfo, token: Uint8Array): Promise\;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainAccountManager;
方法or属性:static getAccountInfo(options: GetDomainAccountInfoOptions, callback: AsyncCallback\): void;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:DomainAccountManager;
方法or属性:static getAccountInfo(options: GetDomainAccountInfoOptions): Promise\;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:ExecutorProperty;
方法or属性:enrollmentProgress?: string;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:ExecutorProperty;
方法or属性:sensorInfo?: string;|@ohos.account.osAccount.d.ts|
|新增|NA|类名:GetPropertyType;
方法or属性:ENROLLMENT_PROGRESS = 4|@ohos.account.osAccount.d.ts|
|新增|NA|类名:GetPropertyType;
方法or属性:SENSOR_INFO = 5|@ohos.account.osAccount.d.ts|
|新增|NA|类名:AuthType;
方法or属性:FINGERPRINT = 4|@ohos.account.osAccount.d.ts|
|新增|NA|类名:AuthSubType;
方法or属性:FINGERPRINT_CAPACITIVE = 30000|@ohos.account.osAccount.d.ts|
|新增|NA|类名:AuthSubType;
方法or属性:FINGERPRINT_OPTICAL = 30001|@ohos.account.osAccount.d.ts|
|新增|NA|类名:AuthSubType;
方法or属性:FINGERPRINT_ULTRASONIC = 30002|@ohos.account.osAccount.d.ts|
|新增|NA|类名:FingerprintTips;
方法or属性:FINGERPRINT_TIP_FINGER_DOWN = 6|@ohos.account.osAccount.d.ts|
|新增|NA|类名:FingerprintTips;
方法or属性:FINGERPRINT_TIP_FINGER_UP = 7|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:addAccount(name: string, extraInfo: string, callback: AsyncCallback\): void;
旧版本信息:|类名:AppAccountManager;
方法or属性:addAccount(name: string, extraInfo: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: appAccount.AppAccountManager#createAccount|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:addAccount(name: string, extraInfo?: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:addAccount(name: string, extraInfo?: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#createAccount|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:deleteAccount(name: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:deleteAccount(name: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#removeAccount|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:disableAppAccess(name: string, bundleName: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:disableAppAccess(name: string, bundleName: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#setAppAccess|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:enableAppAccess(name: string, bundleName: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:enableAppAccess(name: string, bundleName: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#setAppAccess|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:checkAppAccountSyncEnable(name: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:checkAppAccountSyncEnable(name: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#checkDataSyncEnabled|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:setAccountCredential(name: string, credentialType: string, credential: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:setAccountCredential(name: string, credentialType: string, credential: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#setCredential|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:setAccountExtraInfo(name: string, extraInfo: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:setAccountExtraInfo(name: string, extraInfo: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#setCustomData|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:setAppAccountSyncEnable(name: string, isEnable: boolean): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:setAppAccountSyncEnable(name: string, isEnable: boolean): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#setDataSyncEnabled|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:setAssociatedData(name: string, key: string, value: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:setAssociatedData(name: string, key: string, value: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#setCustomData|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:getAllAccessibleAccounts(): Promise\>;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAllAccessibleAccounts(): Promise\>;
新版本信息:9
代替接口: appAccount.AppAccountManager#getAllAccounts|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:getAllAccounts(owner: string): Promise\>;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAllAccounts(owner: string): Promise\>;
新版本信息:9
代替接口: appAccount.AppAccountManager#getAccountsByOwner|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:getAccountCredential(name: string, credentialType: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAccountCredential(name: string, credentialType: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#getCredential|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:getAccountExtraInfo(name: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAccountExtraInfo(name: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#getCustomData|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:getAssociatedData(name: string, key: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAssociatedData(name: string, key: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#getCustomData|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:getOAuthToken(name: string, owner: string, authType: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:getOAuthToken(name: string, owner: string, authType: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#getAuthToken|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:setOAuthToken(name: string, authType: string, token: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:setOAuthToken(name: string, authType: string, token: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#setAuthToken|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:deleteOAuthToken(name: string, owner: string, authType: string, token: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:deleteOAuthToken(name: string, owner: string, authType: string, token: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#deleteAuthToken|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:setOAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:setOAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#setAuthTokenVisibility|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:checkOAuthTokenVisibility(name: string, authType: string, bundleName: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:checkOAuthTokenVisibility(name: string, authType: string, bundleName: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#checkAuthTokenVisibility|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:getAllOAuthTokens(name: string, owner: string): Promise\>;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAllOAuthTokens(name: string, owner: string): Promise\>;
新版本信息:9
代替接口: appAccount.AppAccountManager#getAllAuthTokens|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:getOAuthList(name: string, authType: string): Promise\>;
旧版本信息:|类名:AppAccountManager;
方法or属性:getOAuthList(name: string, authType: string): Promise\>;
新版本信息:9
代替接口: appAccount.AppAccountManager#getAuthList|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:getAuthenticatorCallback(sessionId: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAuthenticatorCallback(sessionId: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#getAuthCallback|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:AppAccountManager;
方法or属性:getAuthenticatorInfo(owner: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAuthenticatorInfo(owner: string): Promise\;
新版本信息:9
代替接口: appAccount.AppAccountManager#queryAuthenticatorInfo|@ohos.account.appAccount.d.ts|
|废弃版本有变化|类名:DistributedAccountAbility;
方法or属性:queryOsAccountDistributedInfo(): Promise\;
旧版本信息:|类名:DistributedAccountAbility;
方法or属性:queryOsAccountDistributedInfo(): Promise\;
新版本信息:9
代替接口: distributedAccount.DistributedAccountAbility#getOsAccountDistributedInfo|@ohos.account.distributedAccount.d.ts|
|废弃版本有变化|类名:DistributedAccountAbility;
方法or属性:updateOsAccountDistributedInfo(accountInfo: DistributedInfo): Promise\;
旧版本信息:|类名:DistributedAccountAbility;
方法or属性:updateOsAccountDistributedInfo(accountInfo: DistributedInfo): Promise\;
新版本信息:9
代替接口: distributedAccount.DistributedAccountAbility#setOsAccountDistributedInfo|@ohos.account.distributedAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:isMultiOsAccountEnable(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:isMultiOsAccountEnable(): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#checkMultiOsAccountEnabled|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:isOsAccountActived(localId: number): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:isOsAccountActived(localId: number): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#checkOsAccountActivated|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:isOsAccountConstraintEnable(localId: number, constraint: string): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:isOsAccountConstraintEnable(localId: number, constraint: string): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#checkConstraintEnabled|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:isTestOsAccount(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:isTestOsAccount(): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#checkOsAccountTestable|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:isOsAccountVerified(localId: number, callback: AsyncCallback\): void;
旧版本信息:|类名:AccountManager;
方法or属性:isOsAccountVerified(localId: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口: osAccount.AccountManager#checkOsAccountVerified|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:isOsAccountVerified(localId?: number): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:isOsAccountVerified(localId?: number): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#checkOsAccountVerified|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:getCreatedOsAccountsCount(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:getCreatedOsAccountsCount(): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#getOsAccountCount|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:getOsAccountLocalIdFromProcess(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:getOsAccountLocalIdFromProcess(): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#getOsAccountLocalId|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:getOsAccountLocalIdFromUid(uid: number): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:getOsAccountLocalIdFromUid(uid: number): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#getOsAccountLocalIdForUid|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:getOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:getOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#getOsAccountLocalIdForDomain|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:getOsAccountAllConstraints(localId: number): Promise\>;
旧版本信息:|类名:AccountManager;
方法or属性:getOsAccountAllConstraints(localId: number): Promise\>;
新版本信息:9
代替接口: osAccount.AccountManager#getOsAccountConstraints|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:queryActivatedOsAccountIds(): Promise\>;
旧版本信息:|类名:AccountManager;
方法or属性:queryActivatedOsAccountIds(): Promise\>;
新版本信息:9
代替接口: osAccount.AccountManager#getActivatedOsAccountLocalIds|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:queryCurrentOsAccount(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:queryCurrentOsAccount(): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#getCurrentOsAccount|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:getOsAccountTypeFromProcess(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:getOsAccountTypeFromProcess(): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#getOsAccountType|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:getDistributedVirtualDeviceId(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:getDistributedVirtualDeviceId(): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#queryDistributedVirtualDeviceId|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:getOsAccountLocalIdBySerialNumber(serialNumber: number): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:getOsAccountLocalIdBySerialNumber(serialNumber: number): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#getOsAccountLocalIdForSerialNumber|@ohos.account.osAccount.d.ts|
|废弃版本有变化|类名:AccountManager;
方法or属性:getSerialNumberByOsAccountLocalId(localId: number): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:getSerialNumberByOsAccountLocalId(localId: number): Promise\;
新版本信息:9
代替接口: osAccount.AccountManager#getSerialNumberForOsAccountLocalId|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:createAccount(name: string, options: CreateAccountOptions, callback: AsyncCallback\): void;
旧版本信息:|类名:AppAccountManager;
方法or属性:createAccount(name: string, options: CreateAccountOptions, callback: AsyncCallback\): void;
新版本信息:401,12300001,12300002,12300004,12300007|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:createAccount(name: string, options?: CreateAccountOptions): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:createAccount(name: string, options?: CreateAccountOptions): Promise\;
新版本信息:401,12300001,12300002,12300004,12300007|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:createAccountImplicitly(owner: string, options: CreateAccountImplicitlyOptions, callback: AuthCallback): void;
旧版本信息:|类名:AppAccountManager;
方法or属性:createAccountImplicitly(owner: string, options: CreateAccountImplicitlyOptions, callback: AuthCallback): void;
新版本信息:401,12300001,12300002,12300007,12300010,12300113,12300114|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:removeAccount(name: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:removeAccount(name: string): Promise\;
新版本信息:401,12300001,12300002,12300003|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:setAppAccess(name: string, bundleName: string, isAccessible: boolean): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:setAppAccess(name: string, bundleName: string, isAccessible: boolean): Promise\;
新版本信息:401,12300001,12300002,12300003,12400001|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:checkAppAccess(name: string, bundleName: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:checkAppAccess(name: string, bundleName: string): Promise\;
新版本信息:401,12300001,12300002,12300003|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:checkDataSyncEnabled(name: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:checkDataSyncEnabled(name: string): Promise\;
新版本信息:201,401,12300001,12300002,12300003|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:setCredential(name: string, credentialType: string, credential: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:setCredential(name: string, credentialType: string, credential: string): Promise\;
新版本信息:401,12300001,12300002,12300003|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:setDataSyncEnabled(name: string, isEnabled: boolean): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:setDataSyncEnabled(name: string, isEnabled: boolean): Promise\;
新版本信息:201,401,12300001,12300002,12300003|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:setCustomData(name: string, key: string, value: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:setCustomData(name: string, key: string, value: string): Promise\;
新版本信息:401,12300001,12300002,12300003,12400003|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:getAllAccounts(): Promise\>;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAllAccounts(): Promise\>;
新版本信息:401,12300001|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:getAccountsByOwner(owner: string): Promise\>;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAccountsByOwner(owner: string): Promise\>;
新版本信息:401,12300001,12300002,12400001|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:getCredential(name: string, credentialType: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:getCredential(name: string, credentialType: string): Promise\;
新版本信息:401,12300001,12300002,12300003,12300102|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:getCustomData(name: string, key: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:getCustomData(name: string, key: string): Promise\;
新版本信息:401,12300001,12300002,12300003,12400002|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:auth(
name: string,
owner: string,
authType: string,
options: { [key: string]: Object },
callback: AuthCallback
): void;
旧版本信息:|类名:AppAccountManager;
方法or属性:auth(
name: string,
owner: string,
authType: string,
options: { [key: string]: Object },
callback: AuthCallback
): void;
新版本信息:401,12300001,12300002,12300003,12300010,12300113,12300114|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:getAuthToken(name: string, owner: string, authType: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAuthToken(name: string, owner: string, authType: string): Promise\;
新版本信息:401,12300001,12300002,12300003,12300107|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:setAuthToken(name: string, authType: string, token: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:setAuthToken(name: string, authType: string, token: string): Promise\;
新版本信息:401,12300001,12300002,12300003,12400004|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:deleteAuthToken(name: string, owner: string, authType: string, token: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:deleteAuthToken(name: string, owner: string, authType: string, token: string): Promise\;
新版本信息:401,12300001,12300002,12300003,12300107|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:setAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:setAuthTokenVisibility(name: string, authType: string, bundleName: string, isVisible: boolean): Promise\;
新版本信息:401,12300001,12300002,12300003,12300107,12400001,12400005|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:checkAuthTokenVisibility(name: string, authType: string, bundleName: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:checkAuthTokenVisibility(name: string, authType: string, bundleName: string): Promise\;
新版本信息:401,12300001,12300002,12300003,12300107|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:getAllAuthTokens(name: string, owner: string): Promise\>;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAllAuthTokens(name: string, owner: string): Promise\>;
新版本信息:401,12300001,12300002,12300003|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:getAuthList(name: string, authType: string): Promise\>;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAuthList(name: string, authType: string): Promise\>;
新版本信息:401,12300001,12300002,12300003,12300107|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:getAuthCallback(sessionId: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:getAuthCallback(sessionId: string): Promise\;
新版本信息:401,12300001,12300002,12300108|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:queryAuthenticatorInfo(owner: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:queryAuthenticatorInfo(owner: string): Promise\;
新版本信息:401,12300001,12300002,12300113|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:checkAccountLabels(name: string, owner: string, labels: Array\): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:checkAccountLabels(name: string, owner: string, labels: Array\): Promise\;
新版本信息:401,12300001,12300002,12300003,12300010,12300113,12300114|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:deleteCredential(name: string, credentialType: string): Promise\;
旧版本信息:|类名:AppAccountManager;
方法or属性:deleteCredential(name: string, credentialType: string): Promise\;
新版本信息:401,12300001,12300002,12300003,12300102|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:selectAccountsByOptions(options: SelectAccountsOptions): Promise\>;
旧版本信息:|类名:AppAccountManager;
方法or属性:selectAccountsByOptions(options: SelectAccountsOptions): Promise\>;
新版本信息:401,12300001,12300002,12300010,12300114|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:verifyCredential(name: string, owner: string, options: VerifyCredentialOptions, callback: AuthCallback): void;
旧版本信息:|类名:AppAccountManager;
方法or属性:verifyCredential(name: string, owner: string, options: VerifyCredentialOptions, callback: AuthCallback): void;
新版本信息:401,12300001,12300002,12300003,12300010,12300113,12300114|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:AppAccountManager;
方法or属性:setAuthenticatorProperties(owner: string, options: SetPropertiesOptions, callback: AuthCallback): void;
旧版本信息:|类名:AppAccountManager;
方法or属性:setAuthenticatorProperties(owner: string, options: SetPropertiesOptions, callback: AuthCallback): void;
新版本信息:401,12300001,12300002,12300010,12300113,12300114|@ohos.account.appAccount.d.ts|
|新增(错误码)|类名:DistributedAccountAbility;
方法or属性:getOsAccountDistributedInfo(): Promise\;
旧版本信息:|类名:DistributedAccountAbility;
方法or属性:getOsAccountDistributedInfo(): Promise\;
新版本信息:201,401,12300001|@ohos.account.distributedAccount.d.ts|
|新增(错误码)|类名:DistributedAccountAbility;
方法or属性:setOsAccountDistributedInfo(accountInfo: DistributedInfo): Promise\;
旧版本信息:|类名:DistributedAccountAbility;
方法or属性:setOsAccountDistributedInfo(accountInfo: DistributedInfo): Promise\;
新版本信息:201,401,12300001,12300002,12300003|@ohos.account.distributedAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:activateOsAccount(localId: number): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:activateOsAccount(localId: number): Promise\;
新版本信息:201,202,401,12300001,12300002,12300003,12300008,12300009|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:checkMultiOsAccountEnabled(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:checkMultiOsAccountEnabled(): Promise\;
新版本信息:401,12300001|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:checkOsAccountActivated(localId: number): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:checkOsAccountActivated(localId: number): Promise\;
新版本信息:201,401,12300001,12300002,12300003|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:checkOsAccountTestable(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:checkOsAccountTestable(): Promise\;
新版本信息:401,12300001|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:removeOsAccount(localId: number): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:removeOsAccount(localId: number): Promise\;
新版本信息:201,202,401,12300001,12300002,12300003,12300008|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:setOsAccountConstraints(localId: number, constraints: Array\, enable: boolean): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:setOsAccountConstraints(localId: number, constraints: Array\, enable: boolean): Promise\;
新版本信息:201,202,401,12300001,12300002,12300003,12300008|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:setOsAccountName(localId: number, localName: string): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:setOsAccountName(localId: number, localName: string): Promise\;
新版本信息:201,202,401,12300001,12300002,12300003,12300008|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:getOsAccountCount(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:getOsAccountCount(): Promise\;
新版本信息:201,401,12300001|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:queryMaxOsAccountNumber(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:queryMaxOsAccountNumber(): Promise\;
新版本信息:202,401,12300001|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:getOsAccountConstraints(localId: number): Promise\>;
旧版本信息:|类名:AccountManager;
方法or属性:getOsAccountConstraints(localId: number): Promise\>;
新版本信息:201,401,12300001,12300002,12300003|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:queryAllCreatedOsAccounts(): Promise\>;
旧版本信息:|类名:AccountManager;
方法or属性:queryAllCreatedOsAccounts(): Promise\>;
新版本信息:201,202,401,12300001|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:createOsAccount(localName: string, type: OsAccountType): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:createOsAccount(localName: string, type: OsAccountType): Promise\;
新版本信息:201,202,401,12300001,12300002,12300005,12300006,12300007|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:createOsAccountForDomain(type: OsAccountType, domainInfo: DomainAccountInfo): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:createOsAccountForDomain(type: OsAccountType, domainInfo: DomainAccountInfo): Promise\;
新版本信息:201,202,401,12300001,12300002,12300005,12300006,12300007|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:getCurrentOsAccount(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:getCurrentOsAccount(): Promise\;
新版本信息:201,401,12300001|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:queryOsAccountById(localId: number): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:queryOsAccountById(localId: number): Promise\;
新版本信息:201,202,401,12300001,12300002,12300003|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:getOsAccountType(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:getOsAccountType(): Promise\;
新版本信息:401,12300001|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:queryDistributedVirtualDeviceId(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:queryDistributedVirtualDeviceId(): Promise\;
新版本信息:201,401,12300001|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:getOsAccountProfilePhoto(localId: number): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:getOsAccountProfilePhoto(localId: number): Promise\;
新版本信息:201,202,401,12300001,12300002,12300003|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:setOsAccountProfilePhoto(localId: number, photo: string): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:setOsAccountProfilePhoto(localId: number, photo: string): Promise\;
新版本信息:201,202,401,12300001,12300002,12300003,12300008|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:AccountManager;
方法or属性:isMainOsAccount(): Promise\;
旧版本信息:|类名:AccountManager;
方法or属性:isMainOsAccount(): Promise\;
新版本信息:201,202,401,12300001|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:UserAuth;
方法or属性:constructor();
旧版本信息:|类名:UserAuth;
方法or属性:constructor();
新版本信息:202|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:PINAuth;
方法or属性:constructor();
旧版本信息:|类名:PINAuth;
方法or属性:constructor();
新版本信息:202|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:UserIdentityManager;
方法or属性:constructor();
旧版本信息:|类名:UserIdentityManager;
方法or属性:constructor();
新版本信息:202|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:UserAuth;
方法or属性:getVersion(): number;
旧版本信息:|类名:UserAuth;
方法or属性:getVersion(): number;
新版本信息:202|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:UserAuth;
方法or属性:getProperty(request: GetPropertyRequest): Promise\;
旧版本信息:|类名:UserAuth;
方法or属性:getProperty(request: GetPropertyRequest): Promise\;
新版本信息:201,202,401,12300001,12300002|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:UserAuth;
方法or属性:setProperty(request: SetPropertyRequest): Promise\;
旧版本信息:|类名:UserAuth;
方法or属性:setProperty(request: SetPropertyRequest): Promise\;
新版本信息:201,202,401,12300001,12300002|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:UserIdentityManager;
方法or属性:openSession(): Promise\;
旧版本信息:|类名:UserIdentityManager;
方法or属性:openSession(): Promise\;
新版本信息:201,202,401,12300001|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:UserIdentityManager;
方法or属性:getAuthInfo(authType: AuthType, callback: AsyncCallback\>): void;
旧版本信息:|类名:UserIdentityManager;
方法or属性:getAuthInfo(authType: AuthType, callback: AsyncCallback\>): void;
新版本信息:201,202,401,12300001,12300002,12300102|@ohos.account.osAccount.d.ts|
|新增(错误码)|类名:UserIdentityManager;
方法or属性:getAuthInfo(authType?: AuthType): Promise\>;
旧版本信息:|类名:UserIdentityManager;
方法or属性:getAuthInfo(authType?: AuthType): Promise\>;
新版本信息:201,202,401,12300001,12300002,12300102|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AppAccountManager;
方法or属性:on(type: 'accountChange', owners: Array\, callback: Callback\>): void;
旧版本信息:401,12300001,12300002,12300011,12400001|类名:AppAccountManager;
方法or属性:on(type: 'accountChange', owners: Array\, callback: Callback\>): void;
新版本信息:401,12300001,12300002,12400001|@ohos.account.appAccount.d.ts|
|错误码有变化|类名:AppAccountManager;
方法or属性:off(type: 'accountChange', callback?: Callback\>): void;
旧版本信息:401,12300001,12300002,12300012|类名:AppAccountManager;
方法or属性:off(type: 'accountChange', callback?: Callback\>): void;
新版本信息:401,12300001,12300002|@ohos.account.appAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:activateOsAccount(localId: number, callback: AsyncCallback\): void;
旧版本信息:201,401,12300001,12300002,12300003,12300008,12300009|类名:AccountManager;
方法or属性:activateOsAccount(localId: number, callback: AsyncCallback\): void;
新版本信息:201,202,401,12300001,12300002,12300003,12300008,12300009|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:removeOsAccount(localId: number, callback: AsyncCallback\): void;
旧版本信息:201,401,12300001,12300002,12300003,12300008|类名:AccountManager;
方法or属性:removeOsAccount(localId: number, callback: AsyncCallback\): void;
新版本信息:201,202,401,12300001,12300002,12300003,12300008|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:setOsAccountConstraints(
localId: number,
constraints: Array\,
enable: boolean,
callback: AsyncCallback\
): void;
旧版本信息:201,401,12300001,12300002,12300003,12300008|类名:AccountManager;
方法or属性:setOsAccountConstraints(
localId: number,
constraints: Array\,
enable: boolean,
callback: AsyncCallback\
): void;
新版本信息:201,202,401,12300001,12300002,12300003,12300008|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:setOsAccountName(localId: number, localName: string, callback: AsyncCallback\): void;
旧版本信息:201,401,12300001,12300002,12300003,12300008|类名:AccountManager;
方法or属性:setOsAccountName(localId: number, localName: string, callback: AsyncCallback\): void;
新版本信息:201,202,401,12300001,12300002,12300003,12300008|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:queryMaxOsAccountNumber(callback: AsyncCallback\): void;
旧版本信息:401,12300001|类名:AccountManager;
方法or属性:queryMaxOsAccountNumber(callback: AsyncCallback\): void;
新版本信息:202,401,12300001|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:queryAllCreatedOsAccounts(callback: AsyncCallback\>): void;
旧版本信息:201,401,12300001|类名:AccountManager;
方法or属性:queryAllCreatedOsAccounts(callback: AsyncCallback\>): void;
新版本信息:201,202,401,12300001|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:createOsAccount(localName: string, type: OsAccountType, callback: AsyncCallback\): void;
旧版本信息:201,401,12300001,12300002,12300005,12300006,12300007|类名:AccountManager;
方法or属性:createOsAccount(localName: string, type: OsAccountType, callback: AsyncCallback\): void;
新版本信息:201,202,401,12300001,12300002,12300005,12300006,12300007|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:createOsAccountForDomain(
type: OsAccountType,
domainInfo: DomainAccountInfo,
callback: AsyncCallback\
): void;
旧版本信息:201,401,12300001,12300002,12300005,12300006,12300007|类名:AccountManager;
方法or属性:createOsAccountForDomain(
type: OsAccountType,
domainInfo: DomainAccountInfo,
callback: AsyncCallback\
): void;
新版本信息:201,202,401,12300001,12300002,12300005,12300006,12300007|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:queryOsAccountById(localId: number, callback: AsyncCallback\): void;
旧版本信息:201,401,12300001,12300002,12300003|类名:AccountManager;
方法or属性:queryOsAccountById(localId: number, callback: AsyncCallback\): void;
新版本信息:201,202,401,12300001,12300002,12300003|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:getOsAccountProfilePhoto(localId: number, callback: AsyncCallback\): void;
旧版本信息:201,401,12300001,12300002,12300003|类名:AccountManager;
方法or属性:getOsAccountProfilePhoto(localId: number, callback: AsyncCallback\): void;
新版本信息:201,202,401,12300001,12300002,12300003|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:setOsAccountProfilePhoto(localId: number, photo: string, callback: AsyncCallback\): void;
旧版本信息:201,401,12300001,12300002,12300003,12300008|类名:AccountManager;
方法or属性:setOsAccountProfilePhoto(localId: number, photo: string, callback: AsyncCallback\): void;
新版本信息:201,202,401,12300001,12300002,12300003,12300008|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:on(type: 'activate' \| 'activating', name: string, callback: Callback\): void;
旧版本信息:12300001,12300002,12300011,201,401|类名:AccountManager;
方法or属性:on(type: 'activate' \| 'activating', name: string, callback: Callback\): void;
新版本信息:12300001,12300002,201,202,401|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:off(type: 'activate' \| 'activating', name: string, callback?: Callback\): void;
旧版本信息:12300001,12300002,12300012,201,401|类名:AccountManager;
方法or属性:off(type: 'activate' \| 'activating', name: string, callback?: Callback\): void;
新版本信息:12300001,12300002,201,202,401|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:AccountManager;
方法or属性:isMainOsAccount(callback: AsyncCallback\): void;
旧版本信息:201,401,12300001|类名:AccountManager;
方法or属性:isMainOsAccount(callback: AsyncCallback\): void;
新版本信息:201,202,401,12300001|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserAuth;
方法or属性:getAvailableStatus(authType: AuthType, authTrustLevel: AuthTrustLevel): number;
旧版本信息:201,401,12300001,12300002|类名:UserAuth;
方法or属性:getAvailableStatus(authType: AuthType, authTrustLevel: AuthTrustLevel): number;
新版本信息:201,202,401,12300001,12300002|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserAuth;
方法or属性:getProperty(request: GetPropertyRequest, callback: AsyncCallback\): void;
旧版本信息:201,401,12300001,12300002|类名:UserAuth;
方法or属性:getProperty(request: GetPropertyRequest, callback: AsyncCallback\): void;
新版本信息:201,202,401,12300001,12300002|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserAuth;
方法or属性:setProperty(request: SetPropertyRequest, callback: AsyncCallback\): void;
旧版本信息:201,401,12300001,12300002|类名:UserAuth;
方法or属性:setProperty(request: SetPropertyRequest, callback: AsyncCallback\): void;
新版本信息:201,202,401,12300001,12300002|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserAuth;
方法or属性:auth(
challenge: Uint8Array,
authType: AuthType,
authTrustLevel: AuthTrustLevel,
callback: IUserAuthCallback
): Uint8Array;
旧版本信息:201,401,12300001,12300002,12300101,12300105,12300106,12300110,12300111,12300112|类名:UserAuth;
方法or属性:auth(
challenge: Uint8Array,
authType: AuthType,
authTrustLevel: AuthTrustLevel,
callback: IUserAuthCallback
): Uint8Array;
新版本信息:201,202,401,12300001,12300002,12300101,12300102,12300105,12300106,12300109,12300110,12300111,12300112|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserAuth;
方法or属性:authUser(
userId: number,
challenge: Uint8Array,
authType: AuthType,
authTrustLevel: AuthTrustLevel,
callback: IUserAuthCallback
): Uint8Array;
旧版本信息:201,401,12300001,12300002,12300101,12300105,12300106,12300110,12300111,12300112|类名:UserAuth;
方法or属性:authUser(
userId: number,
challenge: Uint8Array,
authType: AuthType,
authTrustLevel: AuthTrustLevel,
callback: IUserAuthCallback
): Uint8Array;
新版本信息:201,202,401,12300001,12300002,12300101,12300102,12300105,12300106,12300109,12300110,12300111,12300112|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserAuth;
方法or属性:cancelAuth(contextID: Uint8Array): void;
旧版本信息:201,401,12300001,12300002|类名:UserAuth;
方法or属性:cancelAuth(contextID: Uint8Array): void;
新版本信息:201,202,401,12300001,12300002|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:PINAuth;
方法or属性:registerInputer(inputer: IInputer): void;
旧版本信息:201,401,12300001,12300002,12300103|类名:PINAuth;
方法or属性:registerInputer(inputer: IInputer): void;
新版本信息:201,202,401,12300001,12300002,12300103|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:PINAuth;
方法or属性:unregisterInputer(): void;
旧版本信息:201|类名:PINAuth;
方法or属性:unregisterInputer(): void;
新版本信息:201,202|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserIdentityManager;
方法or属性:openSession(callback: AsyncCallback\): void;
旧版本信息:201,401,12300001|类名:UserIdentityManager;
方法or属性:openSession(callback: AsyncCallback\): void;
新版本信息:201,202,401,12300001|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserIdentityManager;
方法or属性:addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void;
旧版本信息:201,401,12300001,12300002,12300101,12300106|类名:UserIdentityManager;
方法or属性:addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void;
新版本信息:201,202,401,12300001,12300002,12300101,12300106,12300109,12300111,12300115|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserIdentityManager;
方法or属性:updateCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void;
旧版本信息:201,401,12300001,12300002,12300101,12300106|类名:UserIdentityManager;
方法or属性:updateCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void;
新版本信息:201,202,401,12300001,12300002,12300101,12300102,12300106,12300109,12300111|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserIdentityManager;
方法or属性:closeSession(): void;
旧版本信息:201|类名:UserIdentityManager;
方法or属性:closeSession(): void;
新版本信息:201,202|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserIdentityManager;
方法or属性:cancel(challenge: Uint8Array): void;
旧版本信息:201,401,12300001,12300002|类名:UserIdentityManager;
方法or属性:cancel(challenge: Uint8Array): void;
新版本信息:201,202,401,12300001,12300002|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserIdentityManager;
方法or属性:delUser(token: Uint8Array, callback: IIdmCallback): void;
旧版本信息:201,401,12300001,12300101|类名:UserIdentityManager;
方法or属性:delUser(token: Uint8Array, callback: IIdmCallback): void;
新版本信息:201,202,401,12300001,12300101|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserIdentityManager;
方法or属性:delCred(credentialId: Uint8Array, token: Uint8Array, callback: IIdmCallback): void;
旧版本信息:201,401,12300001,12300002,12300101,12300102|类名:UserIdentityManager;
方法or属性:delCred(credentialId: Uint8Array, token: Uint8Array, callback: IIdmCallback): void;
新版本信息:201,202,401,12300001,12300002,12300101,12300102|@ohos.account.osAccount.d.ts|
|错误码有变化|类名:UserIdentityManager;
方法or属性:getAuthInfo(callback: AsyncCallback\>): void;
旧版本信息:12300001,12300002,12300102,201,401|类名:UserIdentityManager;
方法or属性:getAuthInfo(callback: AsyncCallback\>): void;