diff --git a/en/application-dev/reference/apis/js-apis-sms.md b/en/application-dev/reference/apis/js-apis-sms.md index 82c9622de028bc4cf9c8e772a0f25301a8492534..d1e0be717b9be664da8e0c29a74ac0f262c195dc 100644 --- a/en/application-dev/reference/apis/js-apis-sms.md +++ b/en/application-dev/reference/apis/js-apis-sms.md @@ -27,8 +27,9 @@ Creates an SMS message instance based on the protocol data unit (PDU) and the sp - Example ``` - let specification = '3gpp'; - let pdu = [0x08, 0x91, ...]; + const specification = '3gpp'; + // Display PDUs using numbers in an array, for example, [0x08, 0x91, ...]. + const pdu = [0x08, 0x91]; sms.createMessage(pdu, specification, (err, data) => { console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); }); @@ -57,8 +58,9 @@ Creates an SMS message instance based on the PDU and the specified SMS protocol. - Example ``` - let specification = '3gpp'; - let pdu = [0x08, 0x91, ...]; + const specification = '3gpp'; + // Display PDUs using numbers in an array, for example, [0x08, 0x91, ...]. + const pdu = [0x08, 0x91]; let promise = sms.createMessage(pdu, specification); promise.then(data => { console.log(`createMessage success, promise: data->${JSON.stringify(data)}`); diff --git a/en/application-dev/reference/apis/js-apis-system-time.md b/en/application-dev/reference/apis/js-apis-system-time.md index e851eec1055856e6d5a97f45bb45199143ea742d..d7cedf77c5f9d2c403e243952dba0ba3e8974564 100644 --- a/en/application-dev/reference/apis/js-apis-system-time.md +++ b/en/application-dev/reference/apis/js-apis-system-time.md @@ -3,30 +3,6 @@ >![](../../public_sys-resources/icon-note.gif) **NOTE:** >The APIs of this module are supported since API version 7. -## Applicable Devices - - - - - - - - - - - - - - -

Phone

-

Tablet

-

Smart TV

-

Wearable

-

Yes

-

Yes

-

Yes

-

Yes

-
## Modules to Import