public class AwsIotDeviceDeltaListener extends AWSIotTopic
AWSIotTopic to provide a callback function for
 receiving the shadow delta updates.errorCode, errorMessage, payload, qos, topic| Constructor and Description | 
|---|
AwsIotDeviceDeltaListener(String topic,
                         AWSIotQos qos,
                         AbstractAwsIotDevice device)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
onFailure()
Callback function to be invoked a non-block API has completed
 unsuccessfully. 
 | 
void | 
onMessage(AWSIotMessage message)
Callback function to be invoked upon the arrival of a subscribed message. 
 | 
void | 
onSuccess()
Callback function to be invoked a non-block API has completed
 successfully. 
 | 
void | 
onTimeout()
Callback function to be invoked a non-block API has timed out. 
 | 
getErrorCode, getErrorMessage, getPayload, getQos, getStringPayload, getTopic, setErrorCode, setErrorMessage, setPayload, setQos, setStringPayload, setTopicpublic AwsIotDeviceDeltaListener(String topic, AWSIotQos qos, AbstractAwsIotDevice device)
public void onMessage(AWSIotMessage message)
AWSIotTopiconMessage in interface AwsIotTopicCallbackonMessage in class AWSIotTopicmessage - the message receivedpublic void onSuccess()
AWSIotMessageonSuccess in interface AwsIotMessageCallbackonSuccess in class AWSIotMessagepublic void onFailure()
AWSIotMessageonFailure in interface AwsIotMessageCallbackonFailure in class AWSIotMessagepublic void onTimeout()
AWSIotMessageonTimeout in interface AwsIotMessageCallbackonTimeout in class AWSIotMessageCopyright © 2020. All rights reserved.