public class AwsIotDeviceReportMessage extends AWSIotMessage
errorCode, errorMessage, payload, qos, topic
Constructor and Description |
---|
AwsIotDeviceReportMessage(String topic,
AWSIotQos qos,
long reportVersion,
String jsonState,
AbstractAwsIotDevice device) |
Modifier and Type | Method and Description |
---|---|
void |
onFailure()
Callback function to be invoked a non-block API has completed
unsuccessfully.
|
void |
onSuccess()
Callback function to be invoked a non-block API has completed
successfully.
|
getErrorCode, getErrorMessage, getPayload, getQos, getStringPayload, getTopic, onTimeout, setErrorCode, setErrorMessage, setPayload, setQos, setStringPayload, setTopic
public AwsIotDeviceReportMessage(String topic, AWSIotQos qos, long reportVersion, String jsonState, AbstractAwsIotDevice device)
public void onSuccess()
AWSIotMessage
onSuccess
in interface AwsIotMessageCallback
onSuccess
in class AWSIotMessage
public void onFailure()
AWSIotMessage
onFailure
in interface AwsIotMessageCallback
onFailure
in class AWSIotMessage
Copyright © 2020. All rights reserved.