Udostępnij za pośrednictwem


NfcF.Get(Tag) Method

Definition

Get an instance of NfcF for the given tag.

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

Parameters

tag
Tag

an NFC-F compatible tag

Returns

NFC-F object

Attributes

Remarks

Get an instance of NfcF for the given tag.

Returns null if NfcF was not enumerated in Tag#getTechList. This indicates the tag does not support NFC-F.

Does not cause any RF activity and does not block.

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