RobotIOGetIRCommand Method

Gets the value and pressed state of an IR command button if one has been received by pressing a button on an IR remote control.

Definition

Namespace: RoboTx.Api
Assembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
C#
public IrCommand GetIRCommand()

Return Value

IrCommand
A tuple consisting of the IR command code and its pressed state. A value of -1 for the IR command indicates none received. A value of true for the pressed state indicates button in pressed state. False indicates button released.

See Also