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, setVerbosity
IrSequence receive() throws HarcHardwareException, IOException, IrpMasterException
HarcHardwareException
- if the device is not in valid/open state.IOException
IrpMasterException
boolean stopReceive()
void setTimeout(int timeout) throws IOException
IHarcHardware
setTimeout
in interface IHarcHardware
timeout
- IOException
Copyright © 2015. All rights reserved.