Android.Nfc.NfcAdapter.GetDefaultAdapter Method
Helper to get the default NFC Adapter.

Syntax

[Android.Runtime.Register("getDefaultAdapter", "(Landroid/content/Context;)Landroid/nfc/NfcAdapter;", "")]
public static NfcAdapter GetDefaultAdapter (Android.Content.Context p0)

Parameters

context
the calling application's context

Returns

Documentation for this section has not yet been entered.

Remarks

Helper to get the default NFC Adapter.

Most Android devices will only have one NFC Adapter (NFC Controller).

This helper is the equivalent of:

java Example

 NfcManager manager = (NfcManager) context.getSystemService(Context.NFC_SERVICE);
 NfcAdapter adapter = manager.getDefaultAdapter();

[Android Documentation]

Requirements

Namespace: Android.Nfc
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0