Package com.diozero.api.function
Interface DeviceEventConsumer<T extends DeviceEvent>
- All Superinterfaces:
Consumer<T>
- All Known Implementing Classes:
AbstractDigitalInputDevice
,AnalogInputDevice
,Button
,DebouncedDigitalInputDevice
,DigitalInputDevice
,DigitalInputOutputDevice
,GP2Y0A21YK
,GpioInputDevice
,HCSR04UsingEvents
,LDR
,MCP23008
,MCP23017
,MCP23S17
,MCP23x08
,MCP23x17
,MCP23xxx
,MotionSensor
,Potentiometer
,SmoothedInputDevice
,TCS3200
,TMP36
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface DeviceEventConsumer<T extends DeviceEvent> extends Consumer<T>
-
Method Summary