ReportedPropertiesCallback Interface

public interface ReportedPropertiesCallback

Callback to be executed when a reported properties update request has completed.

Method Summary

Modifier and Type Method and Description
void onReportedPropertiesUpdateAcknowledged(IotHubStatusCode statusCode, ReportedPropertiesUpdateResponse response, IotHubClientException e, Object context)

The callback that is executed when the reported properties update request has completed.

Method Details

onReportedPropertiesUpdateAcknowledged

public void onReportedPropertiesUpdateAcknowledged(IotHubStatusCode statusCode, ReportedPropertiesUpdateResponse response, IotHubClientException e, Object context)

The callback that is executed when the reported properties update request has completed.

Parameters:

statusCode - The service's status code for the request. If 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.

Applies to