未验证 提交 0dca0077 编写于 作者: O openharmony_ci 提交者: Gitee

!19726 【分布式帐号】DistributedInfo接口描述一致性问题处理

Merge pull request !19726 from lichenchen/master
......@@ -506,15 +506,15 @@ updateOsAccountDistributedInfo(accountInfo: DistributedInfo): Promise<void&gt
**系统能力:** SystemCapability.Account.OsAccount
| 名称 | 类型 | 只读 | 必填 | 说明 |
| -------- | -------- | -------- |-------- | -------- |
| name | string | 否 |是 | 分布式帐号名称,非空字符串。 |
| id | string | 否 |是 | 分布式帐号UID,非空字符串。 |
| event | string | 否 |是 | 分布式帐号登录状态,包括登录、登出、Token失效和注销,分别对应以下字符串:<br/>-&nbsp;Ohos.account.event.LOGIN<br/>-&nbsp;Ohos.account.event.LOGOUT<br/>-&nbsp;Ohos.account.event.TOKEN_INVALID<br/>-&nbsp;Ohos.account.event.LOGOFF |
| nickname<sup>9+</sup> | string | 否 |否 | 分布式帐号的昵称,默认为空。 |
| avatar<sup>9+</sup> | string | 否 |否 | 分布式帐号的头像,默认为空。 |
| status<sup>10+</sup> | [DistributedAccountStatus](#distributedaccountstatus10) | 是 |否 | 分布式帐号的状态,枚举类型,默认为未登录状态。 |
| scalableData<sup>8+</sup> | object | 否 |否 | 分布式帐号扩展信息,根据业务所需,以k-v形式传递定制化信息,默认为空。|
| 名称 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
| name | string |是 | 分布式帐号名称,非空字符串。 |
| id | string |是 | 分布式帐号UID,非空字符串。 |
| event | string |是 | 分布式帐号登录状态,包括登录、登出、Token失效和注销,分别对应以下字符串:<br/>-&nbsp;Ohos.account.event.LOGIN<br/>-&nbsp;Ohos.account.event.LOGOUT<br/>-&nbsp;Ohos.account.event.TOKEN_INVALID<br/>-&nbsp;Ohos.account.event.LOGOFF |
| nickname<sup>9+</sup> | string |否 | 分布式帐号的昵称,默认为空。 |
| avatar<sup>9+</sup> | string |否 | 分布式帐号的头像,默认为空。 |
| status<sup>10+</sup> | [DistributedAccountStatus](#distributedaccountstatus10) |否 | 分布式帐号的状态,枚举类型,默认为未登录状态。 |
| scalableData<sup>8+</sup> | object |否 | 分布式帐号扩展信息,根据业务所需,以k-v形式传递定制化信息,默认为空。|
## DistributedAccountStatus<sup>10+</sup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册