Package com.hifiremote.decodeir
Class DecodeIRCaller
- java.lang.Object
-
- com.hifiremote.decodeir.DecodeIRCaller
-
public class DecodeIRCaller extends Object
The Class DecodeIRCaller.
-
-
Constructor Summary
Constructors Constructor Description DecodeIRCaller()
Instantiates a new decode ir caller.DecodeIRCaller(File folder)
Instantiates a new decode ir caller.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
decode()
Decode.int
decodeSize()
Decode size.int
decodeStart()
Decode start.int
getDevice()
Gets the device.String
getErrorMessage()
Gets the error message.int[]
getHex()
Gets the hex.String
getMiscMessage()
Gets the misc message.int
getOBC()
Gets the oBC.String
getProtocolName()
Gets the protocol name.int
getSubDevice()
Gets the sub device.String
getVersion()
Gets the version.void
initDecoder()
Inits the decoder.void
setBursts(int[] b, int r)
Sets the bursts.void
setBursts(int[] b, int r, int e)
void
setFrequency(int f)
Sets the frequency.
-
-
-
Constructor Detail
-
DecodeIRCaller
public DecodeIRCaller(File folder)
Instantiates a new decode ir caller.- Parameters:
folder
- the folder
-
DecodeIRCaller
public DecodeIRCaller()
Instantiates a new decode ir caller.
-
-
Method Detail
-
setBursts
public void setBursts(int[] b, int r)
Sets the bursts.- Parameters:
b
- the br
- the r
-
setBursts
public void setBursts(int[] b, int r, int e)
-
setFrequency
public void setFrequency(int f)
Sets the frequency.- Parameters:
f
- the new frequency
-
initDecoder
public void initDecoder()
Inits the decoder.
-
decode
public boolean decode()
Decode.- Returns:
- true, if successful
-
getProtocolName
public String getProtocolName()
Gets the protocol name.- Returns:
- the protocol name
-
getDevice
public int getDevice()
Gets the device.- Returns:
- the device
-
getSubDevice
public int getSubDevice()
Gets the sub device.- Returns:
- the sub device
-
getOBC
public int getOBC()
Gets the oBC.- Returns:
- the oBC
-
getHex
public int[] getHex()
Gets the hex.- Returns:
- the hex
-
getMiscMessage
public String getMiscMessage()
Gets the misc message.- Returns:
- the misc message
-
getErrorMessage
public String getErrorMessage()
Gets the error message.- Returns:
- the error message
-
decodeStart
public int decodeStart()
Decode start.- Returns:
- the int
-
decodeSize
public int decodeSize()
Decode size.- Returns:
- the int
-
getVersion
public String getVersion()
Gets the version.- Returns:
- the version
-
-