PollMultipleEvent class

Helper class for the static method GPIO.pollMultiple.

PollMultipleEvent.eventOccured will be populated with true for the corresponding GPIO in the gpios array if an edge event occurred, or false if none occurred. This class contains also the number eventCounter of GPIOs for which an edge event occurred. See for details GPIO.pollMultiple

Constructors

PollMultipleEvent(List<GPIO> gpios, int eventCounter, List<bool> eventOccured)

Properties

eventCounter int
edge event occurred counter
final
eventOccured List<bool>
edge event result list
final
gpios List<GPIO>
GPIO list monitored for edge events
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

hasEventOccured(GPIO gpio) bool
Checks if an edge event occured for a gpio
isTimeoutReached() bool
Checks if the timeout has beeen reached.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited