public interface ReportedPropertiesCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onReportedPropertiesUpdateAcknowledged(IotHubStatusCode statusCode,
ReportedPropertiesUpdateResponse response,
IotHubClientException e,
java.lang.Object context)
The callback that is executed when the reported properties update request has completed.
|
void onReportedPropertiesUpdateAcknowledged(IotHubStatusCode statusCode, ReportedPropertiesUpdateResponse response, IotHubClientException e, java.lang.Object context)
statusCode - The service's status code for the request. If IotHubStatusCode.OK then the request was
processed succesfully.response - The new version of the reported properties after a successful update. If the client updating
its reported properties is connected to Edgehub instead of IoT Hub, then this version won't change since Edgehub
does not apply this reported properties update immediately.e - The exception that was encountered if any exception was encountered.context - The context that was provided for this callback in
InternalClient.updateReportedPropertiesAsync(TwinCollection, ReportedPropertiesCallback, Object)Copyright © 2023. All rights reserved.