public DeviceTwin(DeviceIO client, DeviceClientConfig config, IotHubEventCallback deviceTwinCallback, Object deviceTwinCallbackContext, PropertyCallBack genericPropertyCallback, Object genericPropertyCallbackContext) { deviceTwinInternal(client, config, deviceTwinCallback, deviceTwinCallbackContext, genericPropertyCallbackContext); /* **Codes_SRS_DEVICETWIN_21_004: [**The constructor shall save the generic property callback.**]** */ this.deviceTwinGenericPropertyChangeCallback = genericPropertyCallback; this.deviceTwinGenericTwinPropertyChangeCallback = null; }
public DeviceTwin(DeviceIO client, DeviceClientConfig config, IotHubEventCallback deviceTwinCallback, Object deviceTwinCallbackContext, TwinPropertyCallBack genericPropertyCallback, Object genericPropertyCallbackContext) { deviceTwinInternal(client, config, deviceTwinCallback, deviceTwinCallbackContext, genericPropertyCallbackContext); /* **Codes_SRS_DEVICETWIN_21_004: [**The constructor shall save the generic property callback.**]** */ this.deviceTwinGenericTwinPropertyChangeCallback = genericPropertyCallback; this.deviceTwinGenericPropertyChangeCallback = null; }