public class NfcF

  1. Object
  2. TagTechnology
  3. NfcF

FeliCa (JIS X 6319-4) technology view – the contactless protocol used by Suica, PASMO, ICOCA and other Japanese transit / payment cards.

On iOS the app must declare its target system codes in the Info.plist key com.apple.developer.nfc.readersession.felica.systemcodes. Seeing Nfc / NfcF on the classpath gets the builders to add CoreNFC, a default NFCReaderUsageDescription and the reader-session formats entitlement, but not this key: the codes are an argument to setFelicaSystemCodes at runtime, which no build-time scan can see. Inject it yourself with the ios.plistInject build hint.

Constructors

public NfcF()

Methods

public byte[] getIdm()IDm (Manufacturer Identifier).
public byte[] getPmm()PMm (Manufacturer Parameter).
public byte[] getSystemCode()Two-byte system code the tag is currently polled on.
public final TagType getType()The technology variant this view represents.

Inherited methods

Constructor details

NfcF

public NfcF()

Method details

getIdm

public byte[] getIdm()
IDm (Manufacturer Identifier). 8 bytes on a normal FeliCa tag; empty when the platform did not expose it.

getPmm

public byte[] getPmm()
PMm (Manufacturer Parameter). 8 bytes; empty when not exposed.

getSystemCode

public byte[] getSystemCode()
Two-byte system code the tag is currently polled on. Empty when not exposed.

getType

public final TagType getType()
The technology variant this view represents.