| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.service.devicetwin |
| Modifier and Type | Method and Description |
|---|---|
static DeviceTwin |
DeviceTwin.createFromConnectionString(String connectionString,
DeviceTwinClientOptions options)
Deprecated.
because this method declares a thrown IOException even though it never throws an IOException. Users
are recommended to use
DeviceTwin(String, DeviceTwinClientOptions) instead
since it does not declare this exception even though it constructs the same DeviceTwin. |
| Constructor and Description |
|---|
DeviceTwin(String hostName,
com.azure.core.credential.AzureSasCredential azureSasCredential,
DeviceTwinClientOptions options)
Create a new DeviceTwin instance.
|
DeviceTwin(String connectionString,
DeviceTwinClientOptions options)
Constructor to create instance from connection string.
|
DeviceTwin(String hostName,
com.azure.core.credential.TokenCredential credential,
DeviceTwinClientOptions options)
Create a new DeviceTwin instance.
|
Copyright © 2022. All rights reserved.