ProvisioningDeviceClientRegistrationCallback Interface

public interface ProvisioningDeviceClientRegistrationCallback

Method Summary

Modifier and Type Method and Description
abstract 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 abstract 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 be null.
context - Context for this callback

Applies to