public interface IRemoteCommandIrSender
| Modifier and Type | Field and Description |
|---|---|
static int |
repeatMax
Number of repeats to perform by sendIrCommandRepeat
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getCommands(String remote)
Returns an array of command names for the remote given in the argument.
|
String[] |
getRemotes()
Returns an array of "remote" names.
|
Transmitter |
getTransmitter()
Returns a default Transmitter for the device.
|
boolean |
sendIrCommand(String remote,
String command,
int count,
Transmitter transmitter)
Sends the command to the hardware, to be sent count number of times.
|
boolean |
sendIrCommandRepeat(String remote,
String command,
Transmitter transmitter)
Like sendIr, but sends the IR signal until stopped by stopIr.
|
static final int repeatMax
String[] getRemotes() throws IOException
IOExceptionString[] getCommands(String remote) throws IOException
remote - The "remote" to search inIOExceptionboolean sendIrCommand(String remote, String command, int count, Transmitter transmitter) throws IOException, NoSuchTransmitterException
remote - command - count - Number of times to repeat the commandtransmitter - IOExceptionNoSuchTransmitterExceptionboolean sendIrCommandRepeat(String remote, String command, Transmitter transmitter) throws IOException, NoSuchTransmitterException
remote - command - transmitter - IOExceptionNoSuchTransmitterExceptionTransmitter getTransmitter()
Copyright © 2020. All rights reserved.