| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.device |
The API for a device to communicate with an IoT Hub.
|
| com.microsoft.azure.sdk.iot.device.twin |
| Modifier and Type | Method and Description |
|---|---|
Twin |
InternalClient.getTwin()
Get the twin for this client.
|
Twin |
InternalClient.getTwin(int timeoutMilliseconds)
Get the twin for this client.
|
| Modifier and Type | Method and Description |
|---|---|
static Twin |
Twin.createFromDesiredPropertyJson(java.lang.String json)
Factory
|
static Twin |
Twin.createFromPropertiesJson(java.lang.String json)
Factory
|
static Twin |
Twin.createFromReportedPropertyJson(java.lang.String json)
Factory
|
static Twin |
Twin.createFromTwinJson(java.lang.String json)
Factory
|
| Modifier and Type | Method and Description |
|---|---|
void |
DesiredPropertiesCallback.onDesiredPropertiesUpdated(Twin twin,
java.lang.Object context)
The callback to be executed each time the client receives a desired property update from the service.
|
void |
GetTwinCorrelatingMessageCallback.onResponseReceived(Twin twin,
Message message,
java.lang.Object callbackContext,
IotHubStatusCode statusCode,
IotHubClientException e)
Called when a response to the sent message has been sent by IoT hub and has been receieved by the transport.
|
void |
GetTwinCallback.onTwinReceived(Twin twin,
IotHubClientException clientException,
java.lang.Object context)
The callback to be executed when the service responds to a getTwin request with the current twin.
|
Copyright © 2023. All rights reserved.