ContractAPIHttp.getRegistrationStatus(RequestData requestData, ResponseCallback responseCallback, Object dpsAuthorizationCallbackContext) Method

Definition

Gets the registration status over HTTP

public synchronized void getRegistrationStatus(RequestData requestData, ResponseCallback responseCallback, Object dpsAuthorizationCallbackContext)

Parameters

requestData
RequestData

A nonnull 

</code> value with all the request data </p>
responseCallback
ResponseCallback

A nonnull 

</code> value for the callback </p>
dpsAuthorizationCallbackContext
Object

An object for context. Can benull 

</code></p>

Returns

synchronized void

Exceptions

ProvisioningDeviceClientException

If any of the parameters are invalid (null 

</code> or empty) </p>
ProvisioningDeviceTransportException

If any of the API calls to transport fail

ProvisioningDeviceHubException

If hub responds back with status other than 300 or less.

Applies to