操作 旧版本 新版本 d.ts文件
新增 NA 类名:Constants
方法or属性:ACTION_ADD_ACCOUNT_IMPLICITLY = 'addAccountImplicitly'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:ACTION_AUTHENTICATE = 'authenticate'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:ACTION_CREATE_ACCOUNT_IMPLICITLY = 'createAccountImplicitly'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:ACTION_AUTH = 'auth'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:ACTION_VERIFY_CREDENTIAL = 'verifyCredential'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:ACTION_SET_AUTHENTICATOR_PROPERTIES = 'setAuthenticatorProperties'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:KEY_NAME = 'name'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:KEY_OWNER = 'owner'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:KEY_TOKEN = 'token'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:KEY_ACTION = 'action'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:KEY_AUTH_TYPE = 'authType'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:KEY_SESSION_ID = 'sessionId'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:KEY_CALLER_PID = 'callerPid'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:KEY_CALLER_UID = 'callerUid'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:KEY_CALLER_BUNDLE_NAME = 'callerBundleName'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:KEY_REQUIRED_LABELS = 'requiredLabels'
@ohos.account.appAccount.d.ts
新增 NA 类名:Constants
方法or属性:KEY_BOOLEAN_RESULT = 'booleanResult'
@ohos.account.appAccount.d.ts
新增 NA 模块名: ohos.account.distributedAccount
类名: DistributedAccountAbility
方法 or 属性:getOsAccountDistributedInfoByLocalId(localId: number, callback: AsyncCallback<DistributedInfo>): void;
@ohos.account.distributedAccount.d.ts
新增 NA 类名:DistributedAccountAbility
方法or属性:getOsAccountDistributedInfoByLocalId(localId: number, callback: AsyncCallback<DistributedInfo>): void;
@ohos.account.distributedAccount.d.ts
新增 NA 模块名: ohos.account.distributedAccount
类名: DistributedAccountAbility
方法 or 属性:getOsAccountDistributedInfoByLocalId(localId: number): Promise<DistributedInfo>;
@ohos.account.distributedAccount.d.ts
新增 NA 类名:DistributedAccountAbility
方法or属性:getOsAccountDistributedInfoByLocalId(localId: number): Promise<DistributedInfo>;
@ohos.account.distributedAccount.d.ts
新增 NA 模块名: ohos.account.distributedAccount
类名: DistributedAccountAbility
方法 or 属性:setOsAccountDistributedInfoByLocalId(
localId: number,
distributedInfo: DistributedInfo,
callback: AsyncCallback<void>
): void;
@ohos.account.distributedAccount.d.ts
新增 NA 类名:DistributedAccountAbility
方法or属性:setOsAccountDistributedInfoByLocalId(
localId: number,
distributedInfo: DistributedInfo,
callback: AsyncCallback<void>
): void;
@ohos.account.distributedAccount.d.ts
新增 NA 模块名: ohos.account.distributedAccount
类名: DistributedAccountAbility
方法 or 属性:setOsAccountDistributedInfoByLocalId(localId: number, distributedInfo: DistributedInfo): Promise<void>;
@ohos.account.distributedAccount.d.ts
新增 NA 类名:DistributedAccountAbility
方法or属性:setOsAccountDistributedInfoByLocalId(localId: number, distributedInfo: DistributedInfo): Promise<void>;
@ohos.account.distributedAccount.d.ts
新增 NA 模块名: ohos.account.distributedAccount
类名: DistributedAccountStatus
@ohos.account.distributedAccount.d.ts
新增 NA 类名:DistributedAccountStatus
方法or属性:
@ohos.account.distributedAccount.d.ts
新增 NA 模块名: ohos.account.distributedAccount
类名: DistributedAccountStatus
方法 or 属性:NOT_LOGGED_IN = 0
@ohos.account.distributedAccount.d.ts
新增 NA 类名:DistributedAccountStatus
方法or属性:NOT_LOGGED_IN = 0
@ohos.account.distributedAccount.d.ts
新增 NA 模块名: ohos.account.distributedAccount
类名: DistributedAccountStatus
方法 or 属性:LOGGED_IN = 1
@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 类名:DomainAccountInfo
方法or属性:accountId?: string;
@ohos.account.osAccount.d.ts
新增 NA 模块名: ohos.account.osAccount
类名: AuthStatusInfo
@ohos.account.osAccount.d.ts
新增 NA 类名:AuthStatusInfo
方法or属性:
@ohos.account.osAccount.d.ts
新增 NA 模块名: ohos.account.osAccount
类名: AuthStatusInfo
方法 or 属性:remainTimes: number;
@ohos.account.osAccount.d.ts
新增 NA 类名:AuthStatusInfo
方法or属性:remainTimes: number;
@ohos.account.osAccount.d.ts
新增 NA 模块名: ohos.account.osAccount
类名: AuthStatusInfo
方法 or 属性:freezingTime: number;
@ohos.account.osAccount.d.ts
新增 NA 类名:AuthStatusInfo
方法or属性:freezingTime: number;
@ohos.account.osAccount.d.ts
新增 NA 模块名: ohos.account.osAccount
类名: GetDomainAccessTokenOptions
@ohos.account.osAccount.d.ts
新增 NA 类名:GetDomainAccessTokenOptions
方法or属性:
@ohos.account.osAccount.d.ts
新增 NA 模块名: ohos.account.osAccount
类名: GetDomainAccessTokenOptions
方法 or 属性:domainAccountInfo: DomainAccountInfo;
@ohos.account.osAccount.d.ts
新增 NA 类名:GetDomainAccessTokenOptions
方法or属性:domainAccountInfo: DomainAccountInfo;
@ohos.account.osAccount.d.ts
新增 NA 模块名: ohos.account.osAccount
类名: GetDomainAccessTokenOptions
方法 or 属性:domainAccountToken: Uint8Array;
@ohos.account.osAccount.d.ts
新增 NA 类名:GetDomainAccessTokenOptions
方法or属性:domainAccountToken: Uint8Array;
@ohos.account.osAccount.d.ts
新增 NA 模块名: ohos.account.osAccount
类名: GetDomainAccessTokenOptions
方法 or 属性:businessParams: { [key: string]: object };
@ohos.account.osAccount.d.ts
新增 NA 类名:GetDomainAccessTokenOptions
方法or属性:businessParams: { [key: string]: object };
@ohos.account.osAccount.d.ts
新增 NA 模块名: ohos.account.osAccount
类名: GetDomainAccessTokenOptions
方法 or 属性:callerUid: number;
@ohos.account.osAccount.d.ts
新增 NA 类名:GetDomainAccessTokenOptions
方法or属性:callerUid: number;
@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(domain: string, accountName: string, callback: AsyncCallback<DomainAccountInfo>): void;
@ohos.account.osAccount.d.ts
新增 NA 类名:DomainPlugin
方法or属性:getAuthStatusInfo(domainAccountInfo: DomainAccountInfo, callback: AsyncCallback<AuthStatusInfo>): void;
@ohos.account.osAccount.d.ts
新增 NA 类名:DomainPlugin
方法or属性:bindAccount(domainAccountInfo: DomainAccountInfo, localId: number, callback: AsyncCallback<void>): void;
@ohos.account.osAccount.d.ts
新增 NA 类名:DomainPlugin
方法or属性:unbindAccount(domainAccountInfo: DomainAccountInfo, callback: AsyncCallback<void>): void;
@ohos.account.osAccount.d.ts
新增 NA 类名:DomainPlugin
方法or属性:isAccountTokenValid(
domainAccountInfo: DomainAccountInfo,
token: Uint8Array,
callback: AsyncCallback<boolean>
): void;
@ohos.account.osAccount.d.ts
新增 NA 类名:DomainPlugin
方法or属性:getAccessToken(options: GetDomainAccessTokenOptions, callback: AsyncCallback<Uint8Array>): 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<boolean>): void;
@ohos.account.osAccount.d.ts
新增 NA 类名:DomainAccountManager
方法or属性:static hasAccount(domainAccountInfo: DomainAccountInfo): Promise<boolean>;
@ohos.account.osAccount.d.ts
新增 NA 类名:DomainAccountManager
方法or属性:static updateAccountToken(
domainAccountInfo: DomainAccountInfo,
token: Uint8Array,
callback: AsyncCallback<void>
): void;
@ohos.account.osAccount.d.ts
新增 NA 类名:DomainAccountManager
方法or属性:static updateAccountToken(domainAccountInfo: DomainAccountInfo, token: Uint8Array): Promise<void>;
@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
访问级别有变化 类名:UserAuth
访问级别:公开API
类名:UserAuth
访问级别:系统API
@ohos.account.osAccount.d.ts
访问级别有变化 类名:PINAuth
访问级别:公开API
类名:PINAuth
访问级别:系统API
@ohos.account.osAccount.d.ts
访问级别有变化 类名:InputerManager
访问级别:公开API
类名:InputerManager
访问级别:系统API
@ohos.account.osAccount.d.ts
访问级别有变化 类名:DomainPlugin
访问级别:公开API
类名:DomainPlugin
访问级别:系统API
@ohos.account.osAccount.d.ts
访问级别有变化 类名:DomainAccountManager
访问级别:公开API
类名:DomainAccountManager
访问级别:系统API
@ohos.account.osAccount.d.ts
访问级别有变化 类名:UserIdentityManager
访问级别:公开API
类名:UserIdentityManager
访问级别:系统API
@ohos.account.osAccount.d.ts
新增(错误码) NA 类名:UserAuth
方法 or 属性:constructor();
错误码内容: 202
@ohos.account.osAccount.d.ts
新增(错误码) NA 类名:UserAuth
方法 or 属性:getVersion(): number;
错误码内容: 202
@ohos.account.osAccount.d.ts
新增(错误码) NA 类名:PINAuth
方法 or 属性:constructor();
错误码内容: 202
@ohos.account.osAccount.d.ts
新增(错误码) NA 类名:UserIdentityManager
方法 or 属性:constructor();
错误码内容: 202
@ohos.account.osAccount.d.ts