SubscriptionAcknowledgedCallback Interface
public interface SubscriptionAcknowledgedCallback
Callback to be executed when the request to subscribe to desired properties has been acknowledged by the service.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
onSubscriptionAcknowledged(IotHubClientException exception, Object context)
The callback that is executed when the request to subscribe to desired properties or direct methodshas been acknowledged by the service. |
Method Details
onSubscriptionAcknowledged
public void onSubscriptionAcknowledged(IotHubClientException exception, Object context)
The callback that is executed when the request to subscribe to desired properties or direct methodshas been acknowledged by the service.
Parameters:
exception
context
- The context that was provided for this callback in subscribeToDesiredPropertiesAsync(DesiredPropertiesCallback desiredPropertiesCallback, Object desiredPropertiesCallbackContext, SubscriptionAcknowledgedCallback subscriptionAcknowledgedCallback, Object desiredPropertiesSubscriptionCallbackContext) or in subscribeToMethodsAsync(MethodCallback methodCallback, Object methodCallbackContext, SubscriptionAcknowledgedCallback methodStatusCallback, Object methodStatusCallbackContext).
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