Closed cilluo closed 10 years ago
The nfcEvent contains a tag object. You can access other properties with the dot notation. e.g. tag.maxSize
See the docs for an example of the tag object https://github.com/chariotsolutions/phonegap-nfc#sample-event-on-android
my code is
function ArletndefMessage(nfcEvent) {
var tag = nfcEvent.tag, ABCD = tag.ndefMessage;
}
I always show "undefined"
but I can read only ID by
function ArletndefMessage(nfcEvent) {
var tag = nfcEvent.tag, ABCD = tag.id;
}
how can I read other Value (tag.ndefMessage, tag.type, tag.maxsize)?
thanks.