Package org.harctoolbox.harchardware.ir
Interface IRawIrSender
- All Known Subinterfaces:
IRawIrSenderRepeat
- All Known Implementing Classes:
CommandFusion
,DevLirc
,GirsClient
,GlobalCache
,IrAudioDevice
,IrGenericSerial
,IrToy
,IrTrans
,IrTransIRDB
,LircCcfClient
public interface IRawIrSender
Commands for IR senders being able to send IR signals.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a default Transmitter for the device.boolean
sendIr
(org.harctoolbox.ircore.IrSignal irSignal, int count, Transmitter transmitter)
-
Field Details
-
repeatMax
static final int repeatMaxMax number of repeats to honor- See Also:
-
-
Method Details
-
sendIr
boolean sendIr(org.harctoolbox.ircore.IrSignal irSignal, int count, Transmitter transmitter) throws HarcHardwareException, NoSuchTransmitterException, IOException, org.harctoolbox.ircore.InvalidArgumentException - Parameters:
irSignal
-count
-transmitter
-- Returns:
- if false, command failed.
- Throws:
NoSuchTransmitterException
IOException
org.harctoolbox.ircore.InvalidArgumentException
HarcHardwareException
-
getTransmitter
Transmitter getTransmitter()Returns a default Transmitter for the device. May be null if the device ignores the Transmitter argument in sendIr.- Returns:
-