nfc property

String? nfc
getter/setter pair

Controls whether NFC is disabled on the device and if the user can toggle NFC between enabled and disabled.

This is for work profiles on company-owned devices. To control NFC on fully managed devices, use deviceRadioState.nfc instead.

Optional. Possible string values are:

  • "NFC_UNSPECIFIED" : Unspecified. Defaults to NFC_USER_CHOICE.
  • "NFC_USER_CHOICE" : The user is allowed to toggle NFC between enabled and disabled. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 15.
  • "NFC_DISABLED" : NFC is disabled on the device. The user is not allowed to toggle NFC on. This is supported on fully managed devices and work profiles on company-owned devices. For other management modes, a NonComplianceDetail with MANAGEMENT_MODE is reported. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 15.

Implementation

core.String? nfc;