IrCommand Structure

Represents IR Command received by the IR remote sensor.

Definition

Namespace: RoboTx.Api
Assembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
C#
public struct IrCommand
Inheritance
Object    ValueType    IrCommand

Properties

ButtonPressed Gets the pressed state of the command button. True indicates pressed.
ButtonReleased Gets the released state of the command button. True indicates released.
Code Gets the IR command code.
Received Returns true if an IR command has been received.

Methods

Deconstruct Unpacks the IR Command tuple.
EqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
GetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
ToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)

See Also