Megosztás a következőn keresztül:


AdditionalData Class

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

public class AdditionalData

Constructor Summary

Constructor Description
AdditionalData()

Method Summary

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

Gets the Custom Provisioning payload that was set for the provisioning payload

void setProvisioningPayload(String jsonPayload)

Set the Custom Provisioning payload to send to DPS during the registration process

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

Constructor Details

AdditionalData

public AdditionalData()

Method Details

getProvisioningPayload

public String getProvisioningPayload()

Gets the Custom Provisioning payload that was set for the provisioning payload

Returns:

Returns payload data for provisioning. Can be null when no data is set.

setProvisioningPayload

public void setProvisioningPayload(String jsonPayload)

Set the Custom Provisioning payload to send to DPS during the registration process

Parameters:

jsonPayload - The json payload that will be transferred to DPS

Applies to