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