Click or drag to resize

BarcodeManagerSetDefaults Method

Set factory defaults for all barcode symbology types.

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 SetDefaults ();

Return Value

Type: System.Int32
int DecodeException.SUCCESS in case of success, otherwise a possible error code, matching one of the DecodeException error constants.

Exceptions
Exception Condition
DecodeException in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks
Set factory defaults for all barcode symbology types.
Note:
when the decoding configuration changes due a call to this method, it is not saved in a persistent way across system reboot. See persistance note.

Example:
public int setAllDefaults(BarcodeManager decoder) {
  decoder.setDefaults();
}

[Android Documentation]

See Also

Reference