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.
Namespace: RoboTx.ApiAssembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
public IrCommand GetIRCommand()
Public Function GetIRCommand As IrCommand
member GetIRCommand : unit -> IrCommand
Return Value
IrCommandA 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.