Package 

Class TransferDataBean

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Array<byte> data
      private String devId
    • Constructor Summary

      Constructors 
      Constructor Description
      TransferDataBean(Array<byte> data) Create TransferDataBean instance.
      TransferDataBean(Array<byte> data, String devId) Create TransferDataBean instance.
    • Method Summary

      Modifier and Type Method Description
      Array<byte> getData() Get transfer data bytes.
      void setData(Array<byte> data) Set transfer data bytes.
      String getDevId() Get device id.
      void setDevId(String devId) Set device id.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransferDataBean

        TransferDataBean(Array<byte> data)
        Create TransferDataBean instance.
        Parameters:
        data - Transfer data bytes.
      • TransferDataBean

        TransferDataBean(Array<byte> data, String devId)
        Create TransferDataBean instance.
        Parameters:
        data - Transfer data bytes.
        devId - Device id.
    • Method Detail

      • getData

         Array<byte> getData()

        Get transfer data bytes.

      • setData

         void setData(Array<byte> data)

        Set transfer data bytes.

        Parameters:
        data - Transfer data bytes.
      • getDevId

         String getDevId()

        Get device id.

      • setDevId

         void setDevId(String devId)

        Set device id.

        Parameters:
        devId - device id.