Interface IReceive

All Superinterfaces:
AutoCloseable, Closeable, IHarcHardware, IIrReader
All Known Implementing Classes:
DevLirc, GirsClient, IRrecvDumpV2, IrToy, LircMode2

public interface IReceive extends IIrReader
This hardware can receive an IR signal for deployment. It does not return a modulation frequency, and normally uses demodulating hardware.
  • Method Details

    • receive

      org.harctoolbox.ircore.IrSequence receive() throws HarcHardwareException, IOException, org.harctoolbox.ircore.OddSequenceLengthException
      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
    • stopReceive

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