Interface ICapture

All Superinterfaces:
AutoCloseable, Closeable, IHarcHardware, IIrReader
All Known Implementing Classes:
CommandFusion, DevLirc, GirsClient, GlobalCache, IrToy, IrWidget, LircMode2

public interface ICapture extends IIrReader
This hardware captures IR signals, for analyzing rather than for deployment use. It delivers a modulation frequency, and normally uses a non-demodulating sensor.
  • Method Details

    • capture

      org.harctoolbox.ircore.ModulatedIrSequence capture() throws HarcHardwareException, IOException, org.harctoolbox.ircore.InvalidArgumentException
      Listens to the device and returns a sequence. Requires the device to be previously opened. Should itself neither open or close the device.
      Returns:
      Captured sequence, or null by timeout.
      Throws:
      HarcHardwareException - if the device is not in valid/open state.
      IOException
      org.harctoolbox.ircore.OddSequenceLengthException
      org.harctoolbox.ircore.InvalidArgumentException
    • stopCapture

      boolean stopCapture()
      Signals the capturing device that it should stop capturing. May not be implemented in all hardware.
      Returns:
      status