public class IFTTTMakerChannelTriggerEvent extends EventObject
Modifier and Type | Field and Description |
---|---|
protected String |
eventName |
protected GpioPin |
pin |
protected PinState |
state |
protected String |
value1 |
protected String |
value2 |
protected String |
value3 |
source
Constructor and Description |
---|
IFTTTMakerChannelTriggerEvent(Object obj,
GpioPin pin,
PinState state,
String eventName,
String value1,
String value2,
String value3) |
Modifier and Type | Method and Description |
---|---|
String |
getEventName()
Get the IFTTT event name configured for this trigger.
|
GpioPin |
getPin()
Get the pin number that changed and raised this event.
|
PinState |
getState()
Get the pin state that activated this trigger.
|
String |
getValue1()
Get the IFTTT value1 data for this triggered event.
|
String |
getValue2()
Get the IFTTT value2 data for this triggered event.
|
String |
getValue3()
Get the IFTTT value2 data for this triggered event.
|
void |
setValue1(String data)
Set (override) the value1 data that will be sent to the IFTTT trigger event.
|
void |
setValue2(String data)
Set (override) the value2 data that will be sent to the IFTTT trigger event.
|
void |
setValue3(String data)
Set (override) the value3 data that will be sent to the IFTTT trigger event.
|
getSource, toString
protected final GpioPin pin
protected final PinState state
protected final String eventName
protected String value1
protected String value2
protected String value3
public GpioPin getPin()
public PinState getState()
public String getEventName()
public String getValue1()
public void setValue1(String data)
data
- new value data/stringpublic String getValue2()
public void setValue2(String data)
data
- new value data/stringpublic String getValue3()
public void setValue3(String data)
data
- new value data/stringCopyright © 2012–2016 Pi4J. All rights reserved.