fix: Nfc misspell problems

Signed-off-by: zhaoyi46@huawei.com <zhaoyi46@huawei.com>
This commit is contained in:
zhaoyi46@huawei.com 2022-12-05 19:52:56 +08:00
parent 6ee72ed430
commit 4bbb45d062
3 changed files with 9 additions and 9 deletions

View File

@ -80,7 +80,7 @@ declare namespace connectedTag {
/**
* Unsubscribes NFC RF status change events.
*
* <p>All callback functions will be deregistered If there is no specific callback parameter.</p>
* <p>All callback functions will be unregistered If there is no specific callback parameter.</p>
*
* @type The callback type.
* @param callback The callback function to be unregistered.

View File

@ -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.

View File

@ -345,10 +345,10 @@ export interface MifareClassicTag extends TagSession {
incrementBlock(blockIndex: number, value: number, callback: AsyncCallback<void>): 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.