diff --git a/en/application-dev/reference/apis/js-apis-distributed-account.md b/en/application-dev/reference/apis/js-apis-distributed-account.md index 5ea4792ec68bf59975274abd5cb7e0a58f8c1188..e48670b7d80425ef8ed7f251b18af48499366566 100644 --- a/en/application-dev/reference/apis/js-apis-distributed-account.md +++ b/en/application-dev/reference/apis/js-apis-distributed-account.md @@ -506,15 +506,15 @@ Defines the distributed information about an OS account. **System capability**: SystemCapability.Account.OsAccount -| Name| Type| Read-only| Mandatory| Description| -| -------- | -------- | -------- |-------- | -------- | -| name | string | No|Yes| Name of the distributed account. It must be a non-null string.| -| id | string | No|Yes| UID of the distributed account. It must be a non-null string.| -| event | string | No|Yes| Login state of the distributed account. The state can be login, logout, token invalid, or logoff, which correspond to the following strings respectively:
- Ohos.account.event.LOGIN
- Ohos.account.event.LOGOUT
- Ohos.account.event.TOKEN_INVALID
- Ohos.account.event.LOGOFF | -| nickname9+ | string | No|No| Nickname of the distributed account. By default, no value is passed.| -| avatar9+ | string | No|No| Avatar of the distributed account. By default, no value is passed.| -| status10+ | [DistributedAccountStatus](#distributedaccountstatus10) | Yes|No| Status of the distributed account. The value is of the enumerated type. The default status is unlogged.| -| scalableData8+ | object | No|No| Extended information about the distributed account, passed in key-value (KV) pairs based on service requirements. By default, no value is passed.| +| Name| Type| Mandatory| Description| +| -------- | -------- | -------- | -------- | +| name | string |Yes| Name of the distributed account. It must be a non-null string.| +| id | string |Yes| UID of the distributed account. It must be a non-null string.| +| event | string |Yes| Login state of the distributed account. The state can be login, logout, token invalid, or logoff, which correspond to the following strings respectively:
- Ohos.account.event.LOGIN
- Ohos.account.event.LOGOUT
- Ohos.account.event.TOKEN_INVALID
- Ohos.account.event.LOGOFF | +| nickname9+ | string |No| Nickname of the distributed account. By default, no value is passed.| +| avatar9+ | string |No| Avatar of the distributed account. By default, no value is passed.| +| status10+ | [DistributedAccountStatus](#distributedaccountstatus10) |No| Status of the distributed account. The value is of the enumerated type. The default status is unlogged.| +| scalableData8+ | object |No| Extended information about the distributed account, passed in key-value (KV) pairs based on service requirements. By default, no value is passed.| ## DistributedAccountStatus10+ diff --git a/en/application-dev/reference/apis/js-apis-file-storage-statistics.md b/en/application-dev/reference/apis/js-apis-file-storage-statistics.md index 01ffbea245309d4d2babf3ae81ec64e998dfeb67..33078c41ac425d146710f780c1c686fde1fadb6b 100644 --- a/en/application-dev/reference/apis/js-apis-file-storage-statistics.md +++ b/en/application-dev/reference/apis/js-apis-file-storage-statistics.md @@ -295,7 +295,7 @@ Obtains the space (in bytes) of this third-party application. This API uses a pr | Type | Description | | ------------------------------------------ | -------------------------- | - | Promise<[Bundlestats](#bundlestats9)> | Promise used to return the application space obtained. | + | Promise<[Bundlestats](#bundlestats9)> | Promise used to return the application storage space obtained. | **Error codes** @@ -373,7 +373,7 @@ Obtains the total size (in bytes) of the built-in storage. This API uses a promi | Type | Description | | --------------------- | ------------------ | - | Promise<number> | Promise used to return the built-in storage size obtained. | + | Promise<number> | Promise used to return the total built-in storage size obtained. | **Error codes** @@ -604,7 +604,7 @@ Obtains the storage statistics (in bytes) of this user. This API uses a promise | Type | Description | | --------------------- | ---------------- | - | Promise<[StorageStats](#storagestats9)> | Promise used to return the information obtained.| + | Promise<[StorageStats](#storagestats9)> | Promise used to return the storage information obtained.| **Error codes** @@ -683,13 +683,13 @@ Obtains the storage statistics (in bytes) of the specified user. This API uses a | Name | Type | Mandatory| Description| | ---------- | ------ | ---- | ---- | - | userId | number | Yes | User ID.| + | userId | number | Yes | User ID| **Return value** | Type | Description | | --------------------- | ---------------- | - | Promise<[StorageStats](#storagestats9)> | Promise used to return the information obtained.| + | Promise<[StorageStats](#storagestats9)> | Promise used to return the storage information obtained.| **Error codes** diff --git a/en/application-dev/reference/apis/js-apis-file-volumemanager.md b/en/application-dev/reference/apis/js-apis-file-volumemanager.md index bec02a0f6780883260a9e152441558f58039d59b..876b5eb0d793d2f2e524cb56d9ee1bbe15fab6a1 100644 --- a/en/application-dev/reference/apis/js-apis-file-volumemanager.md +++ b/en/application-dev/reference/apis/js-apis-file-volumemanager.md @@ -647,7 +647,7 @@ Partitions a disk. This API uses a promise to return the result. The system supp | Type | Description | | --------------------- | ----------------------- | - | Promise<void> | Promise used to return the result. | + | Promise<void> | Promise that returns no value. | **Error codes**