public class IFTTTMakerChannelTriggerEvent extends EventObject
Modifier and Type | Field and Description |
---|---|
protected GpioPin |
pin |
protected PinState |
state |
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
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()
Copyright © 2012–2019 Pi4J. All rights reserved.