Java SDK, DeviceTwin desired properties update callbacks / notifications

Slava A 106 Reputation points
2020-11-03T00:31:51.063+00:00

Java SDK, looking for a way to receive a single notification / single callback execution when updating (patch) desired properties. Similar to receive_twin_desired_properties_patch in python SDK. I can see callbacks executed for each property in patch, but i need a single callback with all updated properties.

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,137 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
209 questions
{count} votes

2 answers

Sort by: Most helpful
  1. David R. Williamson [MSFT] 26 Reputation points Microsoft Employee
    2020-11-09T17:06:41.907+00:00

    To clarify the situation, are we talking about how to get the Java device SDK to subscribe to desired twin property changes?

    0 comments No comments

  2. AshokPeddakotla-MSFT 28,751 Reputation points
    2020-11-11T15:56:55.42+00:00

    @Slava A The Java device SDK only has callbacks that fire for each updated property. It does not have a callback that fires with the complete twin update payload. Could you please share the priority of this scenario?

    0 comments No comments