harmony 鸿蒙Account Subsystem Changelog
Account Subsystem Changelog
cl.account.1 Change in the osAccount.distributedAccount.DistributedAccountAbility.getOsAccountDistributedInfo Return Value Generation Rules
Access Level
Public API
Reason for the Change
The return value generation rules of the API do not comply with the design specification.
Change Impact
This change does not require application adaptation.
Before change: The generation rules of name, id, nickname, avatar, and scalableData do not comply with the design specification.
After change: The generation rules of these attributes are corrected. The queries for the same distributed account data return different results than before.
Start API Level
API 9
Change Since
OpenHarmony SDK 5.1.0.56
Key API/Component Changes
The following APIs in @ohos.account.distributedAccount.d.ts:
- getOsAccountDistributedInfo(callback: AsyncCallback<DistributedInfo>): <void>
- getOsAccountDistributedInfo(): Promise<DistributedInfo>
Adaptation Guide
No adaptation is required.
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦