availability

Whether NFC can be used right now, before a read starts: the same question, with the same answer, as NfcReaderMode.availability, and as CoreNfcChipRead.availability() on iPhone.

Return

null when NFC is usable; otherwise why it is not: NOT_SUPPORTED, DISABLED, or TAG_READING_DISABLED (from Android 15, API level 35, on).

Since

1.0.0

Parameters

context

Any context of the app.