Class NfcF


public class NfcF extends TagTechnology

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 plist com.apple.developer.nfc.readersession.felica.systemcodes and ship the matching NFC entitlement -- the Codename One Maven plugin and build daemon do this automatically when they see Nfc / NfcF in the classpath.

  • 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()
      Description copied from class: TagTechnology
      The technology variant this view represents.
      Specified by:
      getType in class TagTechnology