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