Class ConnectionMethodNfc


  • public class ConnectionMethodNfc
    extends ConnectionMethod
    Connection method for NFC.
    • Constructor Detail

      • ConnectionMethodNfc

        public ConnectionMethodNfc​(long commandDataFieldMaxLength,
                                   long responseDataFieldMaxLength)
        Creates a new connection method for NFC.
        Parameters:
        commandDataFieldMaxLength - the maximum length for the command data field.
        responseDataFieldMaxLength - the maximum length of the response data field.
    • Method Detail

      • getCommandDataFieldMaxLength

        public long getCommandDataFieldMaxLength()
        Gets the maximum length for the command data field.
        Returns:
        the value.
      • getResponseDataFieldMaxLength

        public long getResponseDataFieldMaxLength()
        Gets the maximum length for the response data field.
        Returns:
        the value.
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object