Example #1
0
        public static void Main(string[] args)
        {
            // Send output to a file
            new CaptureLog();

            CloverDeviceConfiguration configuration = new USBCloverDeviceConfiguration("ThisWillBeTheDeviceId (possibly)", "com.clover.remotepay.transport.example.CloverDeviceExample", false, 1);
            CloverDevice device = CloverDeviceFactory.Get(configuration);

            device.Subscribe(new CloverListener(device));
            System.Threading.Thread.Sleep(20000000);
        }
 public CloverListener(CloverDevice device)
 {
     this.device = device;
 }
 public CloverListener(CloverDevice device)
 {
     this.device = device;
 }