未验证 提交 1aca04ed 编写于 作者: O openharmony_ci 提交者: Gitee

!11760 账号docs仓资料一致性问题整改

Merge pull request !11760 from lichenchen/master
......@@ -470,7 +470,7 @@ checkAppAccess(name: string, bundleName: string, callback: AsyncCallback<bool
| ---------- | ------------------------- | ---- | --------------------------------- |
| name | string | 是 | 应用帐号的名称。 |
| bundleName | string | 是 | 第三方应用的包名。 |
| callback | AsyncCallback<void> | 是 | 回调函数。返回true表示指定应用可访问特定帐号的数据;返回false表示不可访问。 |
| callback | AsyncCallback<boolean> | 是 | 回调函数。返回true表示指定应用可访问特定帐号的数据;返回false表示不可访问。 |
**错误码:**
......@@ -2487,7 +2487,7 @@ selectAccountsByOptions(options: SelectAccountsOptions, callback: AsyncCallback&
| 参数名 | 类型 | 必填 | 说明 |
| -------------- | ----------------------------------- | ----- | --------------- |
| options | SelectAccountsOptions | 是 | 选择帐号的选项。 |
| callback | AsyncCallback<[AppAccountInfo](#appaccountinfo)> | 是 | 回调函数。当根据选项选择请求方可访问的帐号列表时,err为null,data为可访问的帐号信息对象;否则为错误对象。 |
| callback | AsyncCallback<Array<[AppAccountInfo](#appaccountinfo)>> | 是 | 回调函数。当根据选项选择请求方可访问的帐号列表时,err为null,data为可访问的帐号信息对象;否则为错误对象。 |
**错误码:**
......@@ -4229,7 +4229,7 @@ getAllOAuthTokens(name: string, owner: string, callback: AsyncCallback<Array&
| -------- | ---------------------------------------- | ---- | ----------- |
| name | string | 是 | 应用帐号的名称。 |
| owner | string | 是 | 应用帐号所有者的包名。 |
| callback | AsyncCallback<Array< [OAuthTokenInfo](#oauthtokeninfodeprecated)>> | 是 | 回调函数。当获取成功时,err为null,data为授权令牌数组;否则为错误对象。 |
| callback | AsyncCallback<Array<[OAuthTokenInfo](#oauthtokeninfodeprecated)>> | 是 | 回调函数。当获取成功时,err为null,data为授权令牌数组;否则为错误对象。 |
**示例:**
......@@ -4499,7 +4499,7 @@ getAuthenticatorInfo(owner: string): Promise<AuthenticatorInfo>
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ----- | ------ | ---- | ----------- |
| owner | string | 是 | 应用帐号所有者的包名。 |
| name | string | 是 | 应用帐号的名称。 |
......@@ -4510,7 +4510,7 @@ getAuthenticatorInfo(owner: string): Promise<AuthenticatorInfo>
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| -------------------- | -------------- | ----- | ---------------- |
| authType<sup>9+</sup> | string | 是 | 令牌的鉴权类型。 |
| token<sup>9+</sup> | string | 是 | 令牌的取值。 |
......@@ -4526,7 +4526,7 @@ getAuthenticatorInfo(owner: string): Promise&lt;AuthenticatorInfo&gt;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| -------------------- | -------------- | ----- | ---------------- |
| authType | string | 是 | 令牌的鉴权类型。 |
| token | string | 是 | 令牌的取值。 |
......@@ -4538,7 +4538,7 @@ getAuthenticatorInfo(owner: string): Promise&lt;AuthenticatorInfo&gt;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ------- | ------ | ---- | ---------- |
| owner | string | 是 | 认证器的所有者包名。 |
| iconId | number | 是 | 认证器的图标标识。 |
......@@ -4550,7 +4550,7 @@ getAuthenticatorInfo(owner: string): Promise&lt;AuthenticatorInfo&gt;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ------- | ------ | ---- | ---------- |
| account | [AppAccountInfo](#appaccountinfo) | 否 | 令牌所属的帐号信息。 |
| tokenInfo | [AuthTokenInfo](#authtokeninfo9) | 否 | 令牌信息。 |
......@@ -4561,7 +4561,7 @@ getAuthenticatorInfo(owner: string): Promise&lt;AuthenticatorInfo&gt;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ------- | ------ | ---- | ---------- |
| customData | {[key:string]: Object} | 否 | 自定义数据。 |
......@@ -4571,7 +4571,7 @@ getAuthenticatorInfo(owner: string): Promise&lt;AuthenticatorInfo&gt;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ------- | ------ | ---- | ---------- |
| requiredLabels | {[key:string]: Object} | 否 | 必须的标签。 |
| authType | string | 否 | 鉴权类型。 |
......@@ -4582,7 +4582,7 @@ getAuthenticatorInfo(owner: string): Promise&lt;AuthenticatorInfo&gt;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| --------------- | --------------------------- | ----- | ------------------- |
| allowedAccounts | Array&lt;[AppAccountInfo](#appaccountinfo)&gt; | 否 | 允许的帐号数组。 |
| allowedOwners | Array&lt;string&gt; | 否 | 允许的帐号所有者数组。 |
......@@ -4594,7 +4594,7 @@ getAuthenticatorInfo(owner: string): Promise&lt;AuthenticatorInfo&gt;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| -------------- | ---------------------- | ----- | -------------- |
| credentialType | string | 否 | 凭据类型。 |
| credential | string | 否 | 凭据取值。 |
......@@ -4607,7 +4607,7 @@ getAuthenticatorInfo(owner: string): Promise&lt;AuthenticatorInfo&gt;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ---------- | ---------------------- | ----- | -------------- |
| properties | {[key:string]: Object} | 否 | 属性对象。 |
| parameters | {[key:string]: Object} | 否 | 自定义参数对象。 |
......@@ -4618,7 +4618,7 @@ getAuthenticatorInfo(owner: string): Promise&lt;AuthenticatorInfo&gt;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。
| 名称 | 默认值 | 说明 |
| 名称 | 值 | 说明 |
| -------------------------------- | ---------------------- | ----------------------- |
| ACTION_ADD_ACCOUNT_IMPLICITLY<sup>(deprecated)</sup> | "addAccountImplicitly" | 表示操作,隐式添加帐号。 |
| ACTION_AUTHENTICATE<sup>(deprecated)</sup> | "authenticate" | 表示操作,鉴权。 |
......@@ -4644,7 +4644,7 @@ getAuthenticatorInfo(owner: string): Promise&lt;AuthenticatorInfo&gt;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。
| 名称 | 默认值 | 说明 |
| 名称 | 值 | 说明 |
| ----------------------------------- | ----- | ------------ |
| SUCCESS | 0 | 表示操作成功。 |
| ERROR_ACCOUNT_NOT_EXIST | 10001 | 表示应用帐号不存在。 |
......@@ -4877,7 +4877,7 @@ createAccountImplicitly(options: CreateAccountImplicitlyOptions, callback: AuthC
| 参数名 | 类型 | 必填 | 说明 |
| ---------------- | --------------------- | ---- | --------------- |
| options | {[key: string]: any} | 是 | 隐式创建账号的选项。 |
| options | [CreateAccountImplicitlyOptions](#createaccountimplicitlyoptions9) | 是 | 隐式创建账号的选项。 |
| callback | [AuthCallback](#authcallback9) | 是 | 认证器回调对象,用于返回创建结果。 |
### addAccountImplicitly<sup>deprecated</sup>
......@@ -4911,7 +4911,7 @@ auth(name: string, authType: string, options: {[key:string]: Object}, callback:
**参数:**
| 接口名 | 类型 | 必填 | 说明 |
| 参数名 | 类型 | 必填 | 说明 |
| ---------------- | --------------------- | ---- | --------------- |
| name | string | 是 | 应用帐号的名称。 |
| authType | string | 是 | 应用帐号的鉴权类型。 |
......@@ -4933,7 +4933,7 @@ authenticate(name: string, authType: string, callerBundleName: string, options:
**参数:**
| 接口名 | 类型 | 必填 | 说明 |
| 参数名 | 类型 | 必填 | 说明 |
| ---------------- | --------------------- | ---- | --------------- |
| name | string | 是 | 应用帐号的名称。 |
| authType | string | 是 | 应用帐号的鉴权类型。 |
......@@ -4951,7 +4951,7 @@ verifyCredential(name: string, options: VerifyCredentialOptions, callback: AuthC
**参数:**
| 接口名 | 类型 | 必填 | 说明 |
| 参数名 | 类型 | 必填 | 说明 |
| ---------------- | --------------------- | ---- | --------------- |
| name | string | 是 | 应用帐号的名称。 |
| options | [VerifyCredentialOptions](#verifycredentialoptions9) | 是 | 验证凭据的可选项。 |
......@@ -4967,7 +4967,7 @@ setProperties(options: SetPropertiesOptions, callback: AuthCallback): void;
**参数:**
| 接口名 | 类型 | 必填 | 说明 |
| 参数名 | 类型 | 必填 | 说明 |
| ---------------- | --------------------- | ---- | --------------- |
| options | [SetPropertiesOptions](#setpropertiesoptions9) | 是 | 设置属性的可选项。 |
| callback | [AuthCallback](#authcallback9) | 是 | 认证器回调,用于返回设置结果。 |
......@@ -4982,7 +4982,7 @@ checkAccountLabels(name: string, labels: Array&lt;string&gt;, callback: AuthCall
**参数:**
| 接口名 | 类型 | 必填 | 说明 |
| 参数名 | 类型 | 必填 | 说明 |
| ---------------- | --------------------- | ---- | --------------- |
| name | string | 是 | 应用帐号的名称。 |
| labels | Array&lt;string&gt; | 是 | 标签数组。 |
......@@ -4998,7 +4998,7 @@ isAccountRemovable(name: string, callback: AuthCallback): void;
**参数:**
| 接口名 | 类型 | 必填 | 说明 |
| 参数名 | 类型 | 必填 | 说明 |
| ---------------- | --------------------- | ---- | --------------- |
| name | string | 是 | 应用帐号的名称。 |
| callback | [AuthCallback](#authcallback9) | 是 | 认证器回调,用于返回判断结果。 |
......
......@@ -317,7 +317,7 @@ updateOsAccountDistributedInfo(accountInfo: DistributedInfo): Promise&lt;void&gt
**系统能力:** SystemCapability.Account.OsAccount
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
| name | string | 是 | 分布式帐号名称,非空字符串。 |
| id | string | 是 | 分布式帐号UID,非空字符串。 |
......
......@@ -37,7 +37,7 @@ getAccountManager(): AccountManager
**系统能力:** SystemCapability.Account.OsAccount。
| 参数 | 默认值 | 说明 |
| 名称 | 值 | 说明 |
| ------ | ------ | ----------- |
| ADMIN | 0 | 管理员帐号。 |
| NORMAL | 1 | 普通帐号。 |
......@@ -523,7 +523,7 @@ checkOsAccountVerified(localId: number, callback: AsyncCallback&lt;boolean&gt;):
| 参数名 | 类型 | 必填 | 说明 |
| -------- | ---------------------------- | ---- | ------------------------------------------------------------- |
| localId | number | | 系统帐号ID。 |
| localId | number | | 系统帐号ID。 |
| callback | AsyncCallback&lt;boolean&gt; | 是 | 回调函数。返回true表示指定帐号已验证;返回false表示指定帐号未验证。 |
**错误码:**
......@@ -2381,7 +2381,7 @@ querySerialNumberByOsAccountLocalId(localId: number): Promise&lt;number&gt;
on(type: 'activate' | 'activating', name: string, callback: Callback&lt;number&gt;): void
订阅系统帐号的变动信息。使用callback异步回调。
订阅系统帐号的激活完成与激活中的事件。使用callback异步回调。
**系统接口:** 此接口为系统接口。
......@@ -2395,7 +2395,7 @@ on(type: 'activate' | 'activating', name: string, callback: Callback&lt;number&g
| -------- | -------------------------- | ---- | ------------------------------------------------------------ |
| type | 'activate' \| 'activating' | 是 | 订阅类型,activate表示订阅的是帐号已激活完成的事件,activating表示订阅的是帐号正在激活的事件。 |
| name | string | 是 | 订阅名称,可自定义,要求非空且长度不超过1024字节。 |
| callback | Callback&lt;number&gt; | 是 | 订阅系统帐号变动信息的回调,表示当前事件对应的系统帐号ID。 |
| callback | Callback&lt;number&gt; | 是 | 订阅系统帐号激活完成与激活中的事件回调,表示激活完成后或正在激活中的系统帐号ID。 |
**错误码:**
......@@ -2423,7 +2423,7 @@ on(type: 'activate' | 'activating', name: string, callback: Callback&lt;number&g
off(type: 'activate' | 'activating', name: string, callback?: Callback&lt;number&gt;): void
取消订阅系统帐号的变动信息。使用callback异步回调。
取消订阅系统帐号的激活完成与激活中的事件。使用callback异步回调。
**系统接口:** 此接口为系统接口。
......@@ -2437,7 +2437,7 @@ off(type: 'activate' | 'activating', name: string, callback?: Callback&lt;number
| -------- | -------------------------- | ---- | ------------------------------------------------------------ |
| type | 'activate' \| 'activating' | 是 | 取消订阅类型,activate表示取消订阅帐号已激活完成的事件,activating取消订阅帐号正在激活的事件。 |
| name | string | 是 | 订阅名称,可自定义,,要求非空且长度不超过1024字节,需要与订阅接口传入的值保持一致。 |
| callback | Callback&lt;number&gt; | 否 | 取消订阅系统帐号变化的回调,默认返回0。 |
| callback | Callback&lt;number&gt; | 否 | 取消订阅系统帐号激活完成与激活中的事件回调,默认返回0。 |
**错误码:**
......@@ -3031,7 +3031,7 @@ isOsAccountVerified(localId: number, callback: AsyncCallback&lt;boolean&gt;): vo
| 参数名 | 类型 | 必填 | 说明 |
| -------- | ---------------------------- | ---- | ------------------------------------------------------------- |
| localId | number | | 系统帐号ID。 |
| localId | number | | 系统帐号ID。 |
| callback | AsyncCallback&lt;boolean&gt; | 是 | 回调函数。返回true表示指定帐号已验证;返回false表示指定帐号未验证。 |
**示例:**
......@@ -4974,7 +4974,7 @@ onResult: (result: number, extraInfo: RequestResult) => void;
| 参数名 | 类型 | 必填 | 说明 |
| --------- | --------------------------------------- | ---- | ----------------------- |
| result | number | 是 | 表示身份认证结果代码。 |
| extraInfo | [AuthResult](#authresult8) | 是 | 针对不同情况传递具体信息。|
| extraInfo | [RequestResult](#requestresult8) | 是 | 针对不同情况传递具体信息。|
**示例:**
```js
......@@ -5027,7 +5027,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| -------- | ------------------------------------------------------------- | ----- | ----------------------- |
| authType | [AuthType](#authtype8) | 是 | 身份验证凭据类型。 |
| keys | Array&lt;[GetPropertyType](#getpropertytype8)&gt; | 是 | 指示要获取的属性类型数组。 |
......@@ -5040,7 +5040,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| -------- | ------------------------------------------------ | ----- | -------------------- |
| authType | [AuthType](#authtype8) | 是 | 身份验证凭据类型。 |
| key | [SetPropertyType](#setpropertytype8) | 是 | 指示要设置的属性类型。 |
......@@ -5054,7 +5054,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ------------ | ---------------------------------------- | ----- | ----------------- |
| result | number | 是 | 指示结果。 |
| authSubType | [AuthSubType](#authsubtype8) | 是 | 指示认证凭据子类型。|
......@@ -5069,7 +5069,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ------------ | ----------- | ----- | ----------------- |
| token | Uint8Array | 否 | 指示认证令牌。 |
| remainTimes | number | 否 | 指示剩余时间。 |
......@@ -5083,7 +5083,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ------------ | ---------------------------------------- | ----- | ----------------- |
| credType | [AuthType](#authtype8) | 是 | 指示凭据类型。 |
| credSubType | [AuthSubType](#authsubtype8) | 是 | 指示凭据子类型。 |
......@@ -5097,7 +5097,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ------------ | ----------- | ----- | ----------------- |
| credentialId | Uint8Array | 否 | 指示凭据索引。 |
......@@ -5109,7 +5109,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ------------ | ---------------------------------------- | ----- | ------------------- |
| credentialId | Uint8Array | 是 | 指示凭据索引。 |
| authType | [AuthType](#authtype8) | 是 | 指示认证凭据类型。 |
......@@ -5124,7 +5124,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数 | 默认值 | 说明 |
| 名称 | 值 | 说明 |
| ------------- | ------ | --------- |
| AUTH_SUB_TYPE | 1 | 认证子类型。 |
| REMAIN_TIMES | 2 | 剩余时间。 |
......@@ -5138,7 +5138,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数 | 默认值 | 说明 |
| 名称 | 值 | 说明 |
| -------------- | ----- | ----------- |
| INIT_ALGORITHM | 1 | 初始化算法。 |
......@@ -5150,7 +5150,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数 | 默认值 | 说明 |
| 名称 | 值 | 说明 |
| ----- | ----- | ---------------- |
| PIN | 1 | 指示PIN认证类型。 |
| FACE | 2 | 指示脸部认证类型。|
......@@ -5163,7 +5163,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数 | 默认值 | 说明 |
| 名称 | 值 | 说明 |
| ---------- | ----- | ------------------ |
| PIN_SIX | 10000 | 表示6位凭证。 |
| PIN_NUMBER | 10001 | 表示自定义数字凭证。 |
......@@ -5179,7 +5179,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数 | 默认值 | 说明 |
| 名称 | 值 | 说明 |
| ---- | ------ | ----------- |
| ATL1 | 10000 | 信任级别 1。 |
| ATL2 | 20000 | 信任级别 2。 |
......@@ -5194,7 +5194,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数 | 默认值 | 说明 |
| 名称 | 值 | 说明 |
| --------- | ------ | ------------------------ |
| FACE_AUTH | 1 | 表示从人脸认证获取的信息。 |
......@@ -5206,7 +5206,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数 | 默认值 | 说明 |
| 名称 | 值 | 说明 |
| ----------------------- | ----- | ---------------------------------------- |
| SUCCESS | 0 | 表示身份验证成功或支持此功能。 |
| FAIL | 1 | 表示验证器无法识别用户。 |
......@@ -5228,7 +5228,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数 | 默认值 | 说明 |
| 名称 | 值 | 说明 |
| ----------------------------- | ----- | ---------------------------------------- |
| FACE_AUTH_TIP_TOO_BRIGHT | 1 | 表示由于高照明,获得的面部图像太亮。 |
| FACE_AUTH_TIP_TOO_DARK | 2 | 表示由于照明度低,获得的面部图像太暗。 |
......@@ -5250,7 +5250,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount
| 参数 | 默认值 | 说明 |
| 名称 | 值 | 说明 |
| ----------------------------- | ----- | ----------------------------------------------- |
| FINGERPRINT_TIP_GOOD | 0 | 表明采集的图像良好。 |
| FINGERPRINT_TIP_IMAGER_DIRTY | 1 | 表示由于传感器上可疑或检测到污垢,指纹图像噪声过大。 |
......@@ -5265,7 +5265,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount。
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ------------------------------ | ------------------------------------------------------------ | ---- | --------------------------------- |
| localId | number | 是 | 系统帐号ID。 |
| localName | string | 是 | 系统帐号名称。 |
......@@ -5287,7 +5287,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount。
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ----------- | ------ | ---- | ---------- |
| domain | string | 是 | 域名。 |
| accountName | string | 是 | 域帐号名。 |
......@@ -5368,7 +5368,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount。
| 参数名 | 类型 | 必填 | 说明 |
| 名称 | 类型 | 必填 | 说明 |
| ----------- | ------ | ---- | ---------- |
| localId | number | 是 | 系统帐号ID |
| type | [ConstraintSourceType](#constraintsourcetype) | 是 | 约束来源类型 |
......@@ -5381,7 +5381,7 @@ onAcquireInfo?: (module: number, acquire: number, extraInfo: any) => void;
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.OsAccount。
| 参数 | 默认值 | 说明 |
| 名称 | 值 | 说明 |
| ------ | ------ | ------------ |
| CONSTRAINT_NOT_EXIST | 0 | 约束不存在 |
| CONSTRAINT_TYPE_BASE | 1 | 约束源自系统设置 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册