Dela via


ProvisioningDeviceClientRegistrationResult Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.provisioning.device.ProvisioningDeviceClientRegistrationResult

public class ProvisioningDeviceClientRegistrationResult

Field Summary

Modifier and Type Field and Description
protected java.lang.String deviceId
protected java.lang.String iothubUri
protected java.lang.String payload
protected ProvisioningDeviceClientStatus provisioningDeviceClientStatus

Constructor Summary

Constructor Description
ProvisioningDeviceClientRegistrationResult()

Empty constructor to let users gather the data.

Method Summary

Modifier and Type Method and Description
java.lang.String getDeviceId()

Getter for Device ID.

java.lang.String getIothubUri()

Getter for the IotHubUri.

ProvisioningDeviceClientStatus getProvisioningDeviceClientStatus()

Getter for the Provisioning Device Client Status

java.lang.String getProvisioningPayload()

Retrieves the provisioning payload results from DPS

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

deviceId

protected String deviceId

iothubUri

protected String iothubUri

payload

protected String payload

provisioningDeviceClientStatus

protected ProvisioningDeviceClientStatus provisioningDeviceClientStatus

Constructor Details

ProvisioningDeviceClientRegistrationResult

public ProvisioningDeviceClientRegistrationResult()

Empty constructor to let users gather the data.

Method Details

getDeviceId

public String getDeviceId()

Getter for Device ID.

Returns:

Returns device ID. Can be null when registration fails.

getIothubUri

public String getIothubUri()

Getter for the IotHubUri.

Returns:

returns IotHubUri. Can be null when registration fails.

getProvisioningDeviceClientStatus

public ProvisioningDeviceClientStatus getProvisioningDeviceClientStatus()

Getter for the Provisioning Device Client Status

Returns:

Returns the status of Provisioning Device Client

getProvisioningPayload

public String getProvisioningPayload()

Retrieves the provisioning payload results from DPS

Returns:

A string representation of the provisioning payload

Applies to