InternalClient.subscribeToTwinDesiredProperties(Map<DeviceTwin.Property,DeviceTwin.Pair<DeviceTwin.TwinPropertyCallBack,Object>> onDesiredPropertyChange) Method

Definition

Subscribes to desired properties

public void subscribeToTwinDesiredProperties(Map<DeviceTwin.Property,DeviceTwin.Pair<DeviceTwin.TwinPropertyCallBack,Object>> onDesiredPropertyChange)

Parameters

onDesiredPropertyChange
java.util.Map<Property,Pair<TwinPropertyCallBack,java.lang.Object>>

the Map for desired properties and their corresponding callback and context. Can be null.

Exceptions

java.io.IOException

if called when client is not opened or called before starting twin.

Applies to