com.gprinter.io

类 NfcPort

  • java.lang.Object
    • com.gprinter.io.NfcPort


  • public class NfcPort
    extends java.lang.Object
    • 字段详细资料

      • NfcAdapter

        public NfcAdapter NfcAdapter
      • PendingIntent

        public PendingIntent PendingIntent
      • tag

        public Tag tag
      • mfc

        public MifareClassic mfc
      • KEYFORUM

        public byte[] KEYFORUM
      • KEYDEFAULT

        public byte[] KEYDEFAULT
    • 构造器详细资料

      • NfcPort

        public NfcPort(Context context)
    • 方法详细资料

      • EableNfc

        public void EableNfc()
      • DisableNfc

        public void DisableNfc()
      • checkNFCFunction

        public boolean checkNFCFunction()
      • PutIntent

        public void PutIntent(Intent intent)
      • GetId

        public byte[] GetId()
      • Connect

        public boolean Connect()
      • GetType

        public java.lang.String GetType()
      • GetSectorCount

        public int GetSectorCount()
      • GetBlockCount

        public int GetBlockCount()
      • GetSize

        public int GetSize()
      • GetBlockCountInSector

        public int GetBlockCountInSector(int Sector)
      • GetSectorFirstBlockNum

        public int GetSectorFirstBlockNum(int Sector)
      • PairKey

        public boolean PairKey(byte[] keyA,
                               byte[] keyB,
                               int Sector)
                        throws java.io.IOException
        抛出:
        java.io.IOException
      • WriteData

        public boolean WriteData(int Block,
                                 byte[] data)
                          throws java.io.IOException
        抛出:
        java.io.IOException
      • ReadData

        public byte[] ReadData(int Block)
                        throws java.io.IOException
        抛出:
        java.io.IOException
      • close

        public boolean close()
                      throws java.lang.Exception
        抛出:
        java.lang.Exception
文档更新时间: 2020-04-27 13:46   作者:Gainscha佳博