com.phidgets
Class IRLearnedCode

java.lang.Object
  extended bycom.phidgets.IRLearnedCode

public final class IRLearnedCode
extends java.lang.Object

This class represents an IR Learned Code. This is used in the Learn event.

Author:
Phidget Inc.

Constructor Summary
IRLearnedCode(IRCode code, IRCodeInfo codeInfo)
          Creates a new IR Learned Code.
 
Method Summary
 IRCode getCode()
          Returns the code.
 IRCodeInfo getCodeInfo()
          Returns the code parameters.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IRLearnedCode

public IRLearnedCode(IRCode code,
                     IRCodeInfo codeInfo)
Creates a new IR Learned Code. This is used in the Learn event.

Parameters:
code - the IR code
codeInfo - the code parameters
Method Detail

getCode

public IRCode getCode()
Returns the code.

Returns:
code

getCodeInfo

public IRCodeInfo getCodeInfo()
Returns the code parameters.

Returns:
code parameters

toString

public java.lang.String toString()