Uses of Enum Class
com.pi4j.crowpi.components.TouchSensorComponent.TouchState
-
Uses of TouchSensorComponent.TouchState in com.pi4j.crowpi.components
Modifier and TypeMethodDescriptionTouchSensorComponent.getState()
Returns the current state of the touch sensorTouchSensorComponent.mapDigitalState
(com.pi4j.io.gpio.digital.DigitalState digitalState) Maps aDigitalState
to a well-knownTouchSensorComponent.TouchState
Returns the enum constant of this class with the specified name.static TouchSensorComponent.TouchState[]
TouchSensorComponent.TouchState.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
TouchSensorComponent.dispatchSimpleEvents
(TouchSensorComponent.TouchState state) Analyzes the given value passed by an event and triggers 0-n simple events based on it.