NFC, short for Near Field Communication, is a short-range high-frequency radio technology operating at 13.56 MHz, with a communication distance typically within 10 centimeters. NFC services provide functions such as NFC switch control, NFC tag read/write, and NFC card emulation.
Provides APIs for enabling and disabling NFC. Applications that enable or disable NFC must declare the ohos.permission.MANAGE_SECURE_SETTINGS permission. Since only system applications can declare this permission, only system applications can enable or disable NFC. For details, see @ohos.nfc.controller (Standard NFC).
Provides capabilities for discovering NFC tags, dispatching them to applications, and allowing applications to access NFC tags through tag read/write APIs. Applications must declare NFC tag read/write capabilities in the required format before they can receive dispatched NFC tags. For details, see @ohos.nfc.tag (Standard NFC Tags).
Provides card emulation capabilities, allowing electronic devices to complete card transactions by tapping an NFC reader. Applications must declare NFC card emulation capabilities in the required format before they can perform card emulation. For details, see @ohos.nfc.cardEmulation (Standard NFC Card Emulation).