mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
fix: Nfc misspell problems
Signed-off-by: zhaoyi46@huawei.com <zhaoyi46@huawei.com>
This commit is contained in:
parent
6ee72ed430
commit
4bbb45d062
2
api/@ohos.connectedTag.d.ts
vendored
2
api/@ohos.connectedTag.d.ts
vendored
@ -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.
|
||||
|
10
api/@ohos.nfc.tag.d.ts
vendored
10
api/@ohos.nfc.tag.d.ts
vendored
@ -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.
|
||||
|
6
api/tag/nfctech.d.ts
vendored
6
api/tag/nfctech.d.ts
vendored
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user