Click or drag to resize

PropertySet Method

Sets the value of the property, it is not applied to the device.

Namespace:  Com.Datalogic.Decode
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
VB
public virtual int Set (Java.Lang.Object value);

Parameters

value
Type: Java.Lang.Object
The value to be set.

Return Value

Type: System.Int32
int ConfigException.SUCCESS in case of success otherwise a possible error code, matching one of the ConfigException error constants. In case of error, when exceptions are enabled through the ErrorManager singleton, an exception is thrown.

Exceptions
Exception Condition
ConfigException ConfigException.ACCESS_VIOLATION_ERROR if the property is read-only.
ConfigException ConfigException.SUPPORT_ERROR if the property is not supported.
ConfigException ConfigException.VALUE_ERROR if the value is not an allowed value, e.g: an out of range integer or char value or a profiled enumerated value.
Remarks
Sets the value of the property, it is not applied to the device. To apply the value of the property to the device and make it persistent the method ConfigurationManager.commit() of ConfigurationManager must be called.

[Android Documentation]

See Also

Reference