diff --git a/zh-cn/application-dev/reference/apis/js-apis-cardEmulation.md b/zh-cn/application-dev/reference/apis/js-apis-cardEmulation.md index 298ebd478448792dec0770c68f7739250d594c7a..bbf897d68d49ceea7d709c536e7bbd55600e0567 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-cardEmulation.md +++ b/zh-cn/application-dev/reference/apis/js-apis-cardEmulation.md @@ -19,7 +19,7 @@ isSupported(feature: number): boolean 是否支持某种类型的卡模拟 -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **返回值:** @@ -39,7 +39,7 @@ startHCE(aidList: string[]): boolean **需要权限**:ohos.permission.NFC_CARD_EMULATION -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **参数:** @@ -55,7 +55,7 @@ stopHCE(): boolean **需要权限**:ohos.permission.NFC_CARD_EMULATION -**系统能力:** SystemCapability.Communication.NFC +**系统能力:** SystemCapability.Communication.NFC.Core ### on @@ -65,7 +65,7 @@ on(type: "hceCmd", callback: AsyncCallback): void; **需要权限**:ohos.permission.NFC_CARD_EMULATION -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **参数:** @@ -82,7 +82,7 @@ sendResponse(responseApdu: number[]): void; **需要权限**:ohos.permission.NFC_CARD_EMULATION -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **参数:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-connectedTag.md b/zh-cn/application-dev/reference/apis/js-apis-connectedTag.md index 6f62b388faf8642a95796829f7f39147e03db897..ad3d5ba16515ab88a5998bdebba3d053cb16e02a 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-connectedTag.md +++ b/zh-cn/application-dev/reference/apis/js-apis-connectedTag.md @@ -219,6 +219,8 @@ off(type: "notify", callback?: Callback<number>): void 表示NFC场强状态的枚举。 +**系统能力**:SystemCapability.Communication.ConnectedTag + | 名称 | 默认值 | 说明 | | -------- | -------- | -------- | | NFC_RF_LEAVE | 0 | NFC离场事件 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-nfcController.md b/zh-cn/application-dev/reference/apis/js-apis-nfcController.md index 3c5f93e921166502fb31087f60398aa317748960..2e77f939b7aecb764479e398adec859ce0b0cc04 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-nfcController.md +++ b/zh-cn/application-dev/reference/apis/js-apis-nfcController.md @@ -19,6 +19,8 @@ isNfcAvailable(): boolean 查询是否有NFC功能 +**系统能力**:SystemCapability.Communication.NFC.Core + **返回值:** | **类型** | **说明** | @@ -34,7 +36,7 @@ openNfc(): boolean **需要权限**:ohos.permission.MANAGE_SECURE_SETTINGS -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **返回值:** @@ -50,7 +52,7 @@ closeNfc(): boolean **需要权限**:ohos.permission.MANAGE_SECURE_SETTINGS -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **返回值:** @@ -64,7 +66,7 @@ isNfcOpen(): boolean 查询NFC是否打开。 -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **返回值:** @@ -78,7 +80,7 @@ getNfcState(): NfcState 查询NFC状态。 -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **返回值:** @@ -92,7 +94,7 @@ on(type: "nfcStateChange", callback: Callback<NfcState>): void 注册NFC开关状态事件。 -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **参数** @@ -109,7 +111,7 @@ off(type: "nfcStateChange", callback?: Callback<NfcState>): void 取消NFC开关状态事件的注册。 -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **参数** @@ -140,6 +142,8 @@ off(type: "nfcStateChange", callback?: Callback<NfcState>): void 表示NFC状态的枚举。 +**系统能力**:SystemCapability.Communication.NFC.Core + | 名称 | 默认值 | 说明 | | -------- | -------- | -------- | | STATE_OFF | 1 | NFC关闭状态 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-nfcTag.md b/zh-cn/application-dev/reference/apis/js-apis-nfcTag.md index 1bdfb12782670be5df4a7c1ec26a15d57918aee7..94550568a43da3bf71c1313b18d8a6a6cd1eafbd 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-nfcTag.md +++ b/zh-cn/application-dev/reference/apis/js-apis-nfcTag.md @@ -21,7 +21,7 @@ getNfcATag(tagInfo: TagInfo): NfcATag **需要权限**:ohos.permission.NFC_TAG -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **返回值:** @@ -37,7 +37,7 @@ getNfcBTag(tagInfo: TagInfo): NfcBTag **需要权限**:ohos.permission.NFC_TAG -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **返回值:** @@ -53,7 +53,7 @@ getNfcFTag(tagInfo: TagInfo): NfcFTag **需要权限**:ohos.permission.NFC_TAG -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **返回值:** @@ -69,7 +69,7 @@ getNfcVTag(tagInfo: TagInfo): NfcVTag **需要权限**:ohos.permission.NFC_TAG -**系统能力**:SystemCapability.Communication.NFC +**系统能力**:SystemCapability.Communication.NFC.Core **返回值:**