public interface IReceive extends IHarcHardware
| Modifier and Type | Method and Description |
|---|---|
IrSequence |
receive()
Listens to the device and returns a sequence.
|
void |
setTimeout(int timeout)
Set timeout in milliseconds.
|
boolean |
stopReceive()
Signals the receiving device that it should stop receiving.
|
getVersion, isValid, open, setDebug, setVerbosityIrSequence receive() throws HarcHardwareException, IOException, IrpMasterException
HarcHardwareException - if the device is not in valid/open state.IOExceptionIrpMasterExceptionboolean stopReceive()
void setTimeout(int timeout)
throws IOException
IHarcHardwaresetTimeout in interface IHarcHardwaretimeout - IOExceptionCopyright © 2015. All rights reserved.