Android.Nfc.NfcAdapter Members

The members of Android.Nfc.NfcAdapter are listed below.

See Also: Inherited members from Java.Lang.Object

Public Fields

const
ActionAdapterStateChangedstring. Broadcast Action: The state of the local NFC adapter has been changed.
const
ActionNdefDiscoveredstring. Intent to start an activity when a tag with NDEF payload is discovered.
const
ActionTagDiscoveredstring. Intent to start an activity when a tag is discovered.
const
ActionTechDiscoveredstring. Intent to start an activity when a tag is discovered and activities are registered for the specific technologies on the tag.
const
ExtraAdapterStatestring. Used as an int extra field in NfcAdapter.ActionAdapterStateChanged intents to request the current power state.
const
ExtraIdstring. Optional extra containing a byte array containing the ID of the discovered tag for the NfcAdapter.ActionNdefDiscovered, NfcAdapter.ActionTechDiscovered, and NfcAdapter.ActionTagDiscovered intents.
const
ExtraNdefMessagesstring. Extra containing an array of Android.Nfc.NdefMessage present on the discovered tag.
const
ExtraReaderPresenceCheckDelaystring. Int Extra for use with NfcAdapter.EnableReaderMode(Android.App.Activity, .IReaderCallback, .IReaderCallback, .IReaderCallback).
const
ExtraTagstring. Mandatory extra containing the Android.Nfc.Tag that was discovered for the NfcAdapter.ActionNdefDiscovered, NfcAdapter.ActionTechDiscovered, and NfcAdapter.ActionTagDiscovered intents.
const
FlagReaderNfcANfcReaderFlags (1). Flag for use with NfcAdapter.EnableReaderMode(Android.App.Activity, .IReaderCallback, .IReaderCallback, .IReaderCallback).
const
FlagReaderNfcBNfcReaderFlags (2). Flag for use with NfcAdapter.EnableReaderMode(Android.App.Activity, .IReaderCallback, .IReaderCallback, .IReaderCallback).
const
FlagReaderNfcBarcodeNfcReaderFlags (16). Flag for use with NfcAdapter.EnableReaderMode(Android.App.Activity, .IReaderCallback, .IReaderCallback, .IReaderCallback).
const
FlagReaderNfcFNfcReaderFlags (4). Flag for use with NfcAdapter.EnableReaderMode(Android.App.Activity, .IReaderCallback, .IReaderCallback, .IReaderCallback).
const
FlagReaderNfcVNfcReaderFlags (8). Flag for use with NfcAdapter.EnableReaderMode(Android.App.Activity, .IReaderCallback, .IReaderCallback, .IReaderCallback).
const
FlagReaderNoPlatformSoundsNfcReaderFlags (256). Flag for use with NfcAdapter.EnableReaderMode(Android.App.Activity, .IReaderCallback, .IReaderCallback, .IReaderCallback).
const
FlagReaderSkipNdefCheckNfcReaderFlags (128). Flag for use with NfcAdapter.EnableReaderMode(Android.App.Activity, .IReaderCallback, .IReaderCallback, .IReaderCallback).
const
StateOffint (1).
const
StateOnint (3).
const
StateTurningOffint (4).
const
StateTurningOnint (2).

Public Properties

[read-only]
static
DefaultAdapterNfcAdapter. Documentation for this section has not yet been entered.
[read-only]
IsEnabledbool. Return true if this NFC Adapter has any features enabled.
[read-only]
IsNdefPushEnabledbool. Return true if the NDEF Push (Android Beam) feature is enabled.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DisableForegroundDispatch(Android.App.Activity)
Disable foreground dispatch to the given activity.
DisableForegroundNdefPush(Android.App.Activity)
Disable NDEF message push over P2P.
DisableReaderMode(Android.App.Activity)
Restore the NFC adapter to normal mode of operation: supporting peer-to-peer (Android Beam), card emulation, and polling for all supported tag technologies.
EnableForegroundDispatch(Android.App.Activity, Android.App.PendingIntent, Android.Content.IntentFilter[], string[][])
Enable foreground dispatch to the given Activity.
EnableForegroundNdefPush(Android.App.Activity, NdefMessage)
Enable NDEF message push over NFC while this Activity is in the foreground.
EnableReaderMode(Android.App.Activity, NfcAdapter.IReaderCallback, NfcReaderFlags, Android.OS.Bundle)
Limit the NFC controller to reader mode while this Activity is in the foreground.
static
GetDefaultAdapter(Android.Content.Context) : NfcAdapter
Helper to get the default NFC Adapter.
InvokeBeam(Android.App.Activity) : bool
Manually invoke Android Beam to share data.
SetBeamPushUris(Android.Net.Uri[], Android.App.Activity)
Set one or more Android.Net.Uris to send using Android Beam (TM).
SetBeamPushUrisCallback(NfcAdapter.ICreateBeamUrisCallback, Android.App.Activity)
Set a callback that will dynamically generate one or more Android.Net.Uris to send using Android Beam (TM).
SetNdefPushMessage(NdefMessage, Android.App.Activity, params Android.App.Activity[])
Documentation for this section has not yet been entered.
SetNdefPushMessageCallback(NfcAdapter.ICreateNdefMessageCallback, Android.App.Activity, params Android.App.Activity[])
Documentation for this section has not yet been entered.
SetOnNdefPushCompleteCallback(NfcAdapter.IOnNdefPushCompleteCallback, Android.App.Activity, params Android.App.Activity[])
Documentation for this section has not yet been entered.