Most visited

Recently visited

Added in API level 19

NfcAdapter.ReaderCallback

public static interface NfcAdapter.ReaderCallback

android.nfc.NfcAdapter.ReaderCallback


当前台活动在阅读器模式下运行时系统找到标签时要调用的回调。

注册您 ReaderCallback与实施 enableReaderMode(Activity, NfcAdapter.ReaderCallback, int, Bundle) ,并禁用它 disableReaderMode(Activity)

也可以看看:

Summary

Public methods

abstract void onTagDiscovered(Tag tag)

Public methods

onTagDiscovered

Added in API level 19
void onTagDiscovered (Tag tag)

Parameters
tag Tag

Hooray!