| 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 |
|---|---|
void |
InternalClient.subscribeToDesiredPropertiesAsync(DesiredPropertiesCallback desiredPropertiesCallback,
java.lang.Object desiredPropertiesCallbackContext,
SubscriptionAcknowledgedCallback subscriptionAcknowledgedCallback,
java.lang.Object desiredPropertiesSubscriptionCallbackContext)
Start receiving desired property updates for this client asynchronously.
|
void |
InternalClient.subscribeToMethodsAsync(MethodCallback methodCallback,
java.lang.Object methodCallbackContext,
SubscriptionAcknowledgedCallback methodStatusCallback,
java.lang.Object methodStatusCallbackContext)
Subscribes to direct methods.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeviceTwin.subscribeToDesiredPropertiesAsync(SubscriptionAcknowledgedCallback subscriptionAcknowledgedCallback,
java.lang.Object subscribeToDesiredPropertiesCallbackContext,
DesiredPropertiesCallback desiredPropertiesCallback,
java.lang.Object desiredPropertiesUpdateCallbackContext) |
| Constructor and Description |
|---|
DirectMethod(InternalClient client,
SubscriptionAcknowledgedCallback deviceMethodStatusCallback,
java.lang.Object deviceMethodStatusCallbackContext)
This constructor creates an instance of device method class which helps facilitate the interation for device methods
between the user and IotHub.
|
Copyright © 2023. All rights reserved.