ProvisioningDeviceClientRegistrationCallback Interface

public interface ProvisioningDeviceClientRegistrationCallback

Method Summary

Modifier and Type Method and Description
void run(ProvisioningDeviceClientRegistrationResult provisioningDeviceClientRegistrationResult, Exception e, Object context)

Callback user to provide registration results such as iothub uri, device id or any exception thrown during the process of registration

Method Details

run

public void run(ProvisioningDeviceClientRegistrationResult provisioningDeviceClientRegistrationResult, Exception e, Object context)

Callback user to provide registration results such as iothub uri, device id or any exception thrown during the process of registration

Parameters:

provisioningDeviceClientRegistrationResult - An object that holds information about the registration result
e -

Exception thrown during the process of registration. Can benull 

</code> . </p>
context - Context for this callback

Applies to