你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ProvisioningDeviceClientRegistrationResult Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. provisioning. device. ProvisioningDeviceClientRegistrationResult
- com.
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
Provisioning |
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 Iot |
Provisioning |
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
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:
null
when registration fails.getIothubUri
public String getIothubUri()
Getter for the IotHubUri.
Returns:
null
when registration fails.getProvisioningDeviceClientStatus
public ProvisioningDeviceClientStatus getProvisioningDeviceClientStatus()
Getter for the Provisioning Device Client Status
Returns:
getProvisioningPayload
public String getProvisioningPayload()
Retrieves the provisioning payload results from DPS
Returns: