Compartir a través de


MifareUltralight.Get(Tag) Method

Definition

Get an instance of MifareUltralight for the given tag.

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

Parameters

tag
Tag

an MIFARE Ultralight compatible tag

Returns

MIFARE Ultralight object

Attributes

Remarks

Get an instance of MifareUltralight for the given tag.

Returns null if MifareUltralight was not enumerated in Tag#getTechList - this indicates the tag is not MIFARE Ultralight compatible, or that this Android device does not implement MIFARE Ultralight.

Does not cause any RF activity and does not block.

Java documentation for android.nfc.tech.MifareUltralight.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