提交 e281097a 编写于 作者: A Annie_wang

update docs

Signed-off-by: NAnnie_wang <annie.wangli@huawei.com>
上级 b89152c8
# @ohos.account.distributedAccount
# @ohos.account.distributedAccount (Distributed Account Management)
The **distributedAccount** module provides APIs for managing distributed accounts, including querying and updating account login states.
......@@ -232,7 +232,7 @@ Sets the distributed account information. This API uses a promise to return the
| ID| Error Message|
| -------- | ------------------- |
| 12300001 | System service exception. |
| 12300002 | invalid accountInfo. |
| 12300002 | Invalid accountInfo. |
**Example**
```js
......@@ -252,7 +252,7 @@ Sets the distributed account information. This API uses a promise to return the
updateOsAccountDistributedInfo(accountInfo: DistributedInfo, callback: AsyncCallback&lt;void&gt;): void
Updates distributed account information. This API uses an asynchronous callback to return the result.
Updates the distributed account information. This API uses an asynchronous callback to return the result.
> **NOTE**
>
......
......@@ -22,8 +22,7 @@ Obtains the total size (in bytes) of the specified volume in an external storage
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Parameters**
......@@ -59,8 +58,7 @@ Obtains the total size (in bytes) of the specified volume in an external storage
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Parameters**
......@@ -90,8 +88,7 @@ Obtains the available space (in bytes) of the specified volume in an external st
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Parameters**
......@@ -128,8 +125,7 @@ Obtains the available space (in bytes) of the specified volume in an external st
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Parameters**
......@@ -159,8 +155,7 @@ Obtains the space (in bytes) of an application. This API uses a promise to retur
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Parameters**
......@@ -196,8 +191,7 @@ Obtains the space (in bytes) of an application. This API uses an asynchronous ca
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Parameters**
......@@ -263,12 +257,8 @@ Obtains the space (in bytes) of this third-party application. This API uses an a
## BundleStats<sup>9+</sup>
### Attributes
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
| Name | Type | Readable| Writable| Description |
| --------- | ------ | --- | ---- | -------------- |
| appSize | number | Yes| No| Size of the application, in bytes. |
......@@ -286,9 +276,7 @@ Obtains the total size (in bytes) of the built-in storage. This API uses a promi
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Return value**
......@@ -313,9 +301,7 @@ Obtains the total size (in bytes) of the built-in storage. This API uses an asyn
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Parameters**
......@@ -343,9 +329,7 @@ Obtains the available space (in bytes) of the built-in storage. This API uses a
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Return value**
......@@ -371,9 +355,7 @@ Obtains the available space (in bytes) of the built-in storage. This API uses an
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Parameters**
......@@ -400,8 +382,7 @@ Obtains the system data space, in bytes. This API uses a promise to return the r
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Return value**
......@@ -430,9 +411,7 @@ Obtains the system data space, in bytes. This API uses an asynchronous callback
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Parameters**
......@@ -459,9 +438,7 @@ Obtains the storage statistics (in bytes) of this user. This API uses a promise
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Return value**
......@@ -489,9 +466,7 @@ Obtains the storage statistics (in bytes) of this user. This API uses an asynchr
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Parameters**
......@@ -515,9 +490,7 @@ Obtains the storage statistics (in bytes) of the specified user. This API uses a
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Parameters**
......@@ -552,9 +525,7 @@ Obtains the storage statistics (in bytes) of the specified user. This API uses a
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
**Parameters**
......@@ -576,12 +547,9 @@ This is a system API.
## StorageStats<sup>9+</sup>
### Attributes
**System capability**: SystemCapability.FileManagement.StorageService.SpatialStatistics
This is a system API.
**System API**: This is a system API.
| Name | Type | Readable | Writable | Description |
| --------- | ------ | ---- | ----- | -------------- |
......
......@@ -3,7 +3,7 @@
> **NOTE**
>
> - The initial APIs of this module are supported since API version 3. Newly added APIs will be marked with a superscript to indicate their earliest API version.
>- The APIs provided by this module are deprecated since API version 9. You are advised to use [cryptoFramework-Cipher](js-apis-cryptoFramework.md#Cipher).
>- The APIs provided by this module are deprecated since API version 9. You are advised to use [@ohos.security.cryptoFramework Cipher](js-apis-cryptoFramework.md#cipher).
## Modules to Import
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册