Enum ConnectionMode

    • Enum Constant Detail

      • BROADCAST

        public static final ConnectionMode BROADCAST
        ECR and EFT Terminal exchange connection parameters using broadcasting before connecting.
      • ON_FIX_IP

        public static final ConnectionMode ON_FIX_IP
        ECR and EFT Terminal connect directly using pre-configured connection parameters.
      • PCL

        public static final ConnectionMode PCL
        PCL connection. For use on Android only.
      • INTENT

        public static final ConnectionMode INTENT
        Intent connection. For use on Android only.
      • NONE

        public static final ConnectionMode NONE
        Using only Saferpay. No ECR attached.
    • Method Detail

      • values

        public static ConnectionMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ConnectionMode c : ConnectionMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ConnectionMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null