GetTwinCallback Interface
public interface GetTwinCallback
The callback to be executed when the service responds to a getTwin request with the current twin.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
onTwinReceived(Twin twin, IotHubClientException clientException, Object context)
The callback to be executed when the service responds to a getTwin request with the current twin. |
Method Details
onTwinReceived
public void onTwinReceived(Twin twin, IotHubClientException clientException, Object context)
The callback to be executed when the service responds to a getTwin request with the current twin.
Parameters:
twin
- The current twin.
clientException
context
- The context that was provided for this callback in getTwinAsync(GetTwinCallback twinCallback, Object callbackContext).
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