From 4bbb45d06247d4ffc2bd14c0ab348cdcacb5c9d0 Mon Sep 17 00:00:00 2001 From: "zhaoyi46@huawei.com" Date: Mon, 5 Dec 2022 19:52:56 +0800 Subject: [PATCH] fix: Nfc misspell problems Signed-off-by: zhaoyi46@huawei.com --- api/@ohos.connectedTag.d.ts | 2 +- api/@ohos.nfc.tag.d.ts | 10 +++++----- api/tag/nfctech.d.ts | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/api/@ohos.connectedTag.d.ts b/api/@ohos.connectedTag.d.ts index 8e62704923..1f984b951a 100644 --- a/api/@ohos.connectedTag.d.ts +++ b/api/@ohos.connectedTag.d.ts @@ -80,7 +80,7 @@ declare namespace connectedTag { /** * Unsubscribes NFC RF status change events. * - *

All callback functions will be deregistered If there is no specific callback parameter.

+ *

All callback functions will be unregistered If there is no specific callback parameter.

* * @type The callback type. * @param callback The callback function to be unregistered. diff --git a/api/@ohos.nfc.tag.d.ts b/api/@ohos.nfc.tag.d.ts index 9ed3b6ce60..afa4607ca4 100644 --- a/api/@ohos.nfc.tag.d.ts +++ b/api/@ohos.nfc.tag.d.ts @@ -248,7 +248,7 @@ declare namespace tag { * During tag reading, if the tag supports the IsoDep technology, an {@link IsoDepTag} object * will be created based on the tag information. * - * @param { TagInfo } tagInfo - Indicates the diapatched tag information. + * @param { TagInfo } tagInfo - Indicates the dispatched tag information. * @throws { BusinessError } 401 - The parameter check failed. * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 3100201 - Tag running state is abnormal in service. @@ -263,7 +263,7 @@ declare namespace tag { * During tag reading, if the tag supports the NDEF technology, an {@link NdefTag} object * will be created based on the tag information. * - * @param { TagInfo } tagInfo - Indicates the diapatched tag information. + * @param { TagInfo } tagInfo - Indicates the dispatched tag information. * @throws { BusinessError } 401 - The parameter check failed. * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 3100201 - Tag running state is abnormal in service. @@ -278,7 +278,7 @@ declare namespace tag { * During tag reading, if the tag supports the MIFARE Classic technology, * an {@link MifareClassicTag} object will be created based on the tag information. * - * @param { TagInfo } tagInfo - Indicates the diapatched tag information. + * @param { TagInfo } tagInfo - Indicates the dispatched tag information. * @throws { BusinessError } 401 - The parameter check failed. * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 3100201 - Tag running state is abnormal in service. @@ -293,7 +293,7 @@ declare namespace tag { * During tag reading, if the tag supports the MIFARE Ultralight technology, * an {@link MifareUltralightTag} object will be created based on the tag information. * - * @param { TagInfo } tagInfo - Indicates the diapatched tag information. + * @param { TagInfo } tagInfo - Indicates the dispatched tag information. * @throws { BusinessError } 401 - The parameter check failed. * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 3100201 - Tag running state is abnormal in service. @@ -308,7 +308,7 @@ declare namespace tag { * During tag reading, if the tag supports the NDEF Formatable technology, * an {@link NdefFormatableTag} object will be created based on the tag information. * - * @param { TagInfo } tagInfo - Indicates the diapatched tag information. + * @param { TagInfo } tagInfo - Indicates the dispatched tag information. * @throws { BusinessError } 401 - The parameter check failed. * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 3100201 - Tag running state is abnormal in service. diff --git a/api/tag/nfctech.d.ts b/api/tag/nfctech.d.ts index 97662b463a..edf9a82faf 100644 --- a/api/tag/nfctech.d.ts +++ b/api/tag/nfctech.d.ts @@ -345,10 +345,10 @@ export interface MifareClassicTag extends TagSession { incrementBlock(blockIndex: number, value: number, callback: AsyncCallback): void; /** - * Decrements the contents of a block, and stores the result in the internal transfer buffer. + * Decreases the contents of a block, and stores the result in the internal transfer buffer. * - * @param { number } blockIndex - The index of block to decrement. - * @param { number } value - The value to decrement, none-negative. + * @param { number } blockIndex - The index of block to decrease. + * @param { number } value - The value to decrease, none-negative. * @permission ohos.permission.NFC_TAG * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 401 - The parameter check failed. -- Gitee