Roirdownevent, roirrepeatevent, roirupevent – BrightSign Object Reference Manual (FW 5.1) User Manual
Page 285

277
roIRDownEvent, roIRRepeatEvent, roIRUpEvent
An IR event object is generated when an IR button input (button press, button repeat, button release) is received by the
roIRReceiver object. Use these objects to retrieve the message body of the IR input.
Note: The roIRUpEvent object is generated with the Iguanaworks IR transceiver only.
These event objects provide the following:
•
GetCode() As Integer: Returns the IR code received by the roIRReceiver instance.
•
SetCode(a As Integer): Overrides the IR code received by the roIRReceiver instance, replacing it with the
specified binary code.
Interfaces: ifUserData, ifReceivedEvent
The ifUserData interface provides the following:
•
SetUserData(user_data As Object): Sets the user data that will be returned when events are raised.
•
GetUserData() As Object: Returns the user data that has previously been set via SetUserData(). It will
return Invalid if no data has been set.
The ifReceivedEvent interface provides the following:
•
GetEncoding() As String: Returns the encodings setting of the roIRReceiver instance. This setting can be
one of the following strings:
o "NEC"
o "RC5" (supported on the Iguanaworks IR transceiver only)