提交 7bcbc9d1 编写于 作者: K knpingan

【NFC】Interface document consistency modification

Signed-off-by: Nknpingan <zhangxiuping@huawei.com>
上级 b705426a
...@@ -109,4 +109,15 @@ hceService.on("hceCmd", (err, res) => { ...@@ -109,4 +109,15 @@ hceService.on("hceCmd", (err, res) => {
} }
}) })
``` ```
## FeatureType
表示NFC支持的卡模拟类型枚举
**系统能力**:SystemCapability.Communication.NFC.Core
| 名称 | 默认值 | 说明 |
| -------- | -------- | -------- |
| HCE | 0 | 该常量用于检查是否支持 HCE 卡模拟 |
| UICC | 1 | 该常量用于检查是否支持 SIM 卡模拟 |
| ESE | 2 | 该常量用于检查是否支持ESE卡模拟 |
...@@ -157,15 +157,16 @@ getNdefFormatableTag(tagInfo: [TagInfo](#taginfo9)): [NdefFormatableTag](js-apis ...@@ -157,15 +157,16 @@ getNdefFormatableTag(tagInfo: [TagInfo](#taginfo9)): [NdefFormatableTag](js-apis
| ------------------ | --------------------------| | ------------------ | --------------------------|
| [NdefFormatableTag](js-apis-nfctech.md#ndefformatabletag) | Ndef Formatable类型Tag对象。 | | [NdefFormatableTag](js-apis-nfctech.md#ndefformatabletag) | Ndef Formatable类型Tag对象。 |
## TagInfo<sup>9+</sup> ## TagInfo<sup>7+</sup>
nfc服务在调度标签时给出的对象。 nfc服务在调度标签时给出的对象。
**需要权限**:ohos.permission.NFC_TAG
**系统能力**:SystemCapability.Communication.NFC.Core
| **参数名** | **类型** | **说明** | | **参数名** | **类型** | **说明** |
| -------- | -------- | -------- | | -------- | -------- | -------- |
| uid | string | 标签的uid。 | | uid<sup>9+</sup> | string | 标签的uid。 |
| technology | number[] | 支持的技术类型。 | | technology<sup>9+</sup> | number[] | 支持的技术类型。 |
| extrasData | PacMap[] | 标签的额外信息。 | | supportedProfiles<sup>7+</sup> | number[] | 支持的技术类型。 |
| tagRfDiscId | number | 标签的RF discovery id。 | \ No newline at end of file
| remoteTagService | rpc.RemoteObject | 标签服务的rpc远程对象。 |
| supportedProfiles | number[] | 支持的技术类型。 |
\ No newline at end of file
...@@ -841,6 +841,8 @@ let ndefTypeString= tag.NdefTag(taginfo).getNdefTagTypeString(type); ...@@ -841,6 +841,8 @@ let ndefTypeString= tag.NdefTag(taginfo).getNdefTagTypeString(type);
## NfcForumType<sup>9+</sup> ## NfcForumType<sup>9+</sup>
**系统能力**:SystemCapability.Communication.NFC.Core
| **参数名** | **类型** | **说明** | | **参数名** | **类型** | **说明** |
| -------- | -------- | -------- | | -------- | -------- | -------- |
| NFC_FORUM_TYPE_1 | 1 | NFC论坛类型1。 | | NFC_FORUM_TYPE_1 | 1 | NFC论坛类型1。 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册