ReportedPropertiesParameters Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. device. ReportedPropertiesParameters
- com.
public class ReportedPropertiesParameters
Convenience class for the sendReportedProperties method in the DeviceClient
Constructor Summary
| Constructor | Description |
|---|---|
| ReportedPropertiesParameters(Set<DeviceTwin.Property> properties) |
Creates the class with the properties to send |
| ReportedPropertiesParameters(Set<DeviceTwin.Property> properties, Integer version) |
Creates the class with the properties to send and sets version |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| void |
setCorrelationCallback(CorrelatingMessageCallback correlatingMessageCallback)
Set the correlation callback for the send |
| void |
setCorrelationCallback(CorrelatingMessageCallback correlatingMessageCallback, Object correlatingMessageCallbackContext)
Set the correlation callback for the send |
| void |
setReportedPropertiesCallback(IotHubEventCallback reportedPropertiesCallback)
Set the event callback for the send |
| void |
setReportedPropertiesCallback(IotHubEventCallback reportedPropertiesCallback, Object reportedPropertiesCallbackContext)
Set the event callback for the send |
Methods inherited from java.lang.Object
Constructor Details
ReportedPropertiesParameters
public ReportedPropertiesParameters(Set<DeviceTwin.Property> properties)
Creates the class with the properties to send
Parameters:
null.
Throws:
ReportedPropertiesParameters
public ReportedPropertiesParameters(Set<DeviceTwin.Property> properties, Integer version)
Creates the class with the properties to send and sets version
Parameters:
null.
null.
Throws:
Method Details
setCorrelationCallback
public void setCorrelationCallback(CorrelatingMessageCallback correlatingMessageCallback)
Set the correlation callback for the sendReportedProperties method
Parameters:
null.
setCorrelationCallback
public void setCorrelationCallback(CorrelatingMessageCallback correlatingMessageCallback, Object correlatingMessageCallbackContext)
Set the correlation callback for the sendReportedProperties method
Parameters:
null.
null.
setReportedPropertiesCallback
public void setReportedPropertiesCallback(IotHubEventCallback reportedPropertiesCallback)
Set the event callback for the sendReportedProperties method
Parameters:
null.
setReportedPropertiesCallback
public void setReportedPropertiesCallback(IotHubEventCallback reportedPropertiesCallback, Object reportedPropertiesCallbackContext)
Set the event callback for the sendReportedProperties method
Parameters:
null.
null.