public async Task SetCustomerPropertiesUpdateCallback(SfDeviceClient.CustomerPropertiesUpdateCallback customerPropertiesUpdateCallback)
        {
            if (_deviceClient == null)
            {
                throw new Exception("Should be Initial first");
            }

            _customerPropertiesUpdateCallback = customerPropertiesUpdateCallback;
            await _deviceClient.SetDesiredPropertyUpdateCallbackAsync(OnDesiredPropertyChanged, null);
        }
 public SfTwinPropertiesHelper(DeviceClient deviceClient)
 {
     _deviceClient = deviceClient;
     _customerPropertiesUpdateCallback = null;
 }