DeviceSettingValueTSetValue Method

Sets a new value for the setting.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public void SetValue(
	Object? value,
	IHasTimeZone? offset
)

Parameters

value  Object
New value
offset  IHasTimeZone
Offset to edit LastModifiedAt with

Remarks

This flips IsSynchronized to and updates LastModifiedAt, ensuring the device receiver knows it has to update the value.

Exceptions

ArgumentNullExceptionThrown if value is .

See Also