DeviceTwin Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. device. DeviceTwin. DeviceTwin
- com.
public class DeviceTwin
Constructor Summary
Method Summary
Methods inherited from java.lang.Object
Constructor Details
<Type1,Type2>DeviceTwin
public
Parameters:
DeviceTwin
public DeviceTwin(DeviceIO client, DeviceClientConfig config, IotHubEventCallback deviceTwinCallback, Object deviceTwinCallbackContext, DeviceTwin.TwinPropertiesCallback genericPropertiesCallback, Object genericPropertyCallbackContext)
Parameters:
DeviceTwin
public DeviceTwin(DeviceIO client, DeviceClientConfig config, IotHubEventCallback deviceTwinCallback, Object deviceTwinCallbackContext, DeviceTwin.TwinPropertyCallBack genericPropertyCallback, Object genericPropertyCallbackContext)
Parameters:
Method Details
getDeviceTwin
public void getDeviceTwin()
subscribeDesiredPropertiesNotification
public void subscribeDesiredPropertiesNotification(Map
Parameters:
subscribeDesiredPropertiesTwinPropertyNotification
public void subscribeDesiredPropertiesTwinPropertyNotification(Map
Parameters:
updateReportedProperties
public synchronized void updateReportedProperties(Set
Parameters:
Throws:
updateReportedProperties
public synchronized void updateReportedProperties(Set
Parameters:
Throws:
updateReportedProperties
public synchronized void updateReportedProperties(Set
Parameters:
Throws:
Applies to
Azure SDK for Java