int getTagType()

This function can be used to return the type of the current tag. The following tag type enumerations can be used:

0: Unknown
1: Mifare 1K
2: Mifare 4K
3: Mifare Ultralight
4: Mifare Mini
5: Topaz/Jewel
6: FeliCa 212K
7: FeliCa 424K

Return

The tag type as an integer (see above for possible values).