- activity
- the Activity that requests the adapter to be in reader mode
- callback
- the callback to be called when a tag is discovered
- flags
- Flags indicating poll technologies and other optional parameters
- extras
- Additional extras for configuring reader mode.
Limit the NFC controller to reader mode while this Activity is in the foreground.
In this mode the NFC controller will only act as an NFC tag reader/writer, thus disabling any peer-to-peer (Android Beam) and card-emulation modes of the NFC adapter on this device.
Use NfcAdapter.FlagReaderSkipNdefCheck to prevent the platform from performing any NDEF checks in reader mode. Note that this will prevent the Android.Nfc.Tech.Ndef tag technology from being enumerated on the tag, and that NDEF-based tag dispatch will not be functional.
For interacting with tags that are emulated on another Android device using Android's host-based card-emulation, the recommended flags are NfcAdapter.FlagReaderNfcA and NfcAdapter.FlagReaderSkipNdefCheck.