Class ConnectedWindow
java.lang.Object
com.amazonaws.services.iot.client.shadow.AbstractAwsIotDevice
com.amazonaws.services.iot.client.AWSIotDevice
com.amazonaws.services.iot.client.sample.shadow.ConnectedWindow
public class ConnectedWindow
extends com.amazonaws.services.iot.client.AWSIotDevice
This class encapsulates an actual device. It extends
AWSIotDevice to
define properties that are to be kept in sync with the AWS IoT shadow.-
Field Summary
Fields inherited from class com.amazonaws.services.iot.client.shadow.AbstractAwsIotDevice
deviceReportQos, enableVersioning, methodAckQos, methodQos, reportInterval, shadowUpdateQos, thingName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanvoidsetRoomTemperature(float desiredTemperature) voidsetWindowOpen(boolean desiredState) Methods inherited from class com.amazonaws.services.iot.client.AWSIotDevice
delete, delete, delete, get, get, get, getDeviceReportQos, getMethodAckQos, getMethodQos, getReportInterval, getShadowUpdateQos, isEnableVersioning, onDeviceReport, onShadowUpdate, setDeviceReportQos, setEnableVersioning, setMethodAckQos, setMethodQos, setReportInterval, setShadowUpdateQos, update, update, updateMethods inherited from class com.amazonaws.services.iot.client.shadow.AbstractAwsIotDevice
activate, deactivate, getClient, getCommandManager, getDevice, getDeviceSubscriptions, getJsonObjectMapper, getLocalVersion, getReportedProperties, getSyncTask, getThingName, getUpdatableProperties, isCommandReady, isTopicReady, onCommandAck, onSubscriptionAck, setClient, setLocalVersion, setSyncTask, startSync, startVersionSync, stopSync
-
Constructor Details
-
ConnectedWindow
-
-
Method Details
-
getWindowOpen
public boolean getWindowOpen() -
setWindowOpen
public void setWindowOpen(boolean desiredState) -
getRoomTemperature
public float getRoomTemperature() -
setRoomTemperature
public void setRoomTemperature(float desiredTemperature)
-