diff --git a/en/application-dev/reference/apis/js-apis-device-info.md b/en/application-dev/reference/apis/js-apis-device-info.md index c23ee9f6eaccd02c06f9723a6544c61b2d821acb..a1e16d5e0b970a82d9b4e866eb053cb014ced89f 100644 --- a/en/application-dev/reference/apis/js-apis-device-info.md +++ b/en/application-dev/reference/apis/js-apis-device-info.md @@ -1,6 +1,7 @@ # Device Information -> **NOTE**
+> **NOTE** +> > The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version. ## Modules to Import @@ -11,7 +12,7 @@ import deviceInfo from '@ohos.deviceInfo' ## Attributes -**System capability**: SystemCapability.Startup.SysInfo +**System capability**: SystemCapability.Startup.SystemInfo | Name| Type| Readable| Writable| Description| | -------- | -------- | -------- | -------- | -------- | @@ -30,7 +31,7 @@ import deviceInfo from '@ohos.deviceInfo' | securityPatchTag | string | Yes| No| Security patch tag.| | displayVersion | string | Yes| No| Product version.| | incrementalVersion | string | Yes| No| Incremental version.| -| osReleaseType | string | Yes| No| OS release type. The options are as follows:
- **Canary**: Preliminary release open only to specific developers. This release does not promise API stability and may require tolerance of instability.
- **Beta**: Release open to all developers. This release does not promise API stability and may require tolerance of instability.
- **Release**: Official release open to all developers. This release promises that all APIs are stable.| +| osReleaseType | string | Yes| No| OS release type. The options are as follows:
- **Canary**: Preliminary release open only to specific developers. This release does not promise API stability and may require tolerance of instability.
- **Beta**: Release open to all developers. This release does not promise API stability and may require tolerance of instability.
- **Release**: Official release open to all developers. This release promises that all APIs are stable.| | osFullName | string | Yes| No| OS version.| | majorVersion | number | Yes| No| Major version, incrementing along with OS version updates.| | seniorVersion | number | Yes| No| Senior version, incrementing along with architecture and feature updates.| diff --git a/en/application-dev/reference/apis/js-apis-system-parameter.md b/en/application-dev/reference/apis/js-apis-system-parameter.md index cf95a9625934bc0952211b8cc36f26a94f8a63d8..d969eb7c3782df7b111ba436d1ea863505633ff5 100644 --- a/en/application-dev/reference/apis/js-apis-system-parameter.md +++ b/en/application-dev/reference/apis/js-apis-system-parameter.md @@ -17,7 +17,7 @@ getSync(key: string, def?: string): string Obtains the value of the attribute with the specified key. -**System capability**: SystemCapability.Startup.SysInfo +**System capability**: SystemCapability.Startup.SystemInfo **Parameters** @@ -50,7 +50,7 @@ get(key: string, callback: AsyncCallback<string>): void Obtains the value of the attribute with the specified key. This API uses an asynchronous callback to return the result. -**System capability**: SystemCapability.Startup.SysInfo +**System capability**: SystemCapability.Startup.SystemInfo **Parameters** @@ -81,7 +81,7 @@ get(key: string, def: string, callback: AsyncCallback<string>): void Obtains the value of the attribute with the specified key. This API uses an asynchronous callback to return the result. -**System capability**: SystemCapability.Startup.SysInfo +**System capability**: SystemCapability.Startup.SystemInfo **Parameters** @@ -114,7 +114,7 @@ get(key: string, def?: string): Promise<string> Obtains the value of the attribute with the specified key. This API uses a promise to return the result. -**System capability**: SystemCapability.Startup.SysInfo +**System capability**: SystemCapability.Startup.SystemInfo **Parameters** @@ -151,7 +151,7 @@ setSync(key: string, value: string): void Sets a value for the attribute with the specified key. -**System capability**: SystemCapability.Startup.SysInfo +**System capability**: SystemCapability.Startup.SystemInfo **Parameters** @@ -177,7 +177,7 @@ set(key: string, value: string, callback: AsyncCallback<void>): void Sets a value for the attribute with the specified key. This API uses an asynchronous callback to return the result. -**System capability**: SystemCapability.Startup.SysInfo +**System capability**: SystemCapability.Startup.SystemInfo **Parameters** @@ -209,7 +209,7 @@ set(key: string, value: string): Promise<void> Sets a value for the attribute with the specified key. This API uses a promise to return the result. -**System capability**: SystemCapability.Startup.SysInfo +**System capability**: SystemCapability.Startup.SystemInfo **Parameters**