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
Creates the class with the properties to send
Parameters:
null
.
Throws:
ReportedPropertiesParameters
public ReportedPropertiesParameters(Set
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
.
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기