public class GpioCallbackTrigger extends GpioTriggerBase
Constructor and Description |
---|
GpioCallbackTrigger(Callable<Void> callback) |
GpioCallbackTrigger(List<PinState> states,
Callable<Void> callback) |
GpioCallbackTrigger(PinState[] states,
Callable<Void> callback) |
GpioCallbackTrigger(PinState state,
Callable<Void> callback) |
Modifier and Type | Method and Description |
---|---|
void |
invoke(GpioPin pin,
PinState state) |
addPinState, addPinState, hasPinState
public GpioCallbackTrigger(Callable<Void> callback)
public GpioCallbackTrigger(PinState state, Callable<Void> callback)
public GpioCallbackTrigger(PinState[] states, Callable<Void> callback)
public GpioCallbackTrigger(List<PinState> states, Callable<Void> callback)
public void invoke(GpioPin pin, PinState state)
invoke
in interface GpioTrigger
invoke
in class GpioTriggerBase
Copyright © 2012–2021 Pi4J. All rights reserved.