DesiredPropertiesCallback Interface
public interface DesiredPropertiesCallback
The callback to be executed each time the client receives a desired property update from the service.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
onDesiredPropertiesUpdated(Twin twin, Object context)
The callback to be executed each time the client receives a desired property update from the service. |
Method Details
onDesiredPropertiesUpdated
public void onDesiredPropertiesUpdated(Twin twin, Object context)
The callback to be executed each time the client receives a desired property update from the service.
Parameters:
twin
- A Twin instance containing the updated desired properties.
context
- The context that was provided for this callback in subscribeToDesiredPropertiesAsync(DesiredPropertiesCallback desiredPropertiesCallback, Object desiredPropertiesCallbackContext, SubscriptionAcknowledgedCallback subscriptionAcknowledgedCallback, Object desiredPropertiesSubscriptionCallbackContext)
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java