MifareClassic.Get(Tag) Method

Definition

Get an instance of MifareClassic for the given tag.

[Android.Runtime.Register("get", "(Landroid/nfc/Tag;)Landroid/nfc/tech/MifareClassic;", "")]
public static Android.Nfc.Tech.MifareClassic? Get (Android.Nfc.Tag? tag);
[<Android.Runtime.Register("get", "(Landroid/nfc/Tag;)Landroid/nfc/tech/MifareClassic;", "")>]
static member Get : Android.Nfc.Tag -> Android.Nfc.Tech.MifareClassic

Parameters

tag
Tag

an MIFARE Classic compatible tag

Returns

MIFARE Classic object

Attributes

Remarks

Get an instance of MifareClassic for the given tag.

Does not cause any RF activity and does not block.

Returns null if MifareClassic was not enumerated in Tag#getTechList. This indicates the tag is not MIFARE Classic compatible, or this Android device does not support MIFARE Classic.

Java documentation for android.nfc.tech.MifareClassic.get(android.nfc.Tag).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to