Click or drag to resize

BarcodeManagerEnableAllSymbologies Method

Enables or disables all supported symbologies.

Namespace:  Com.Datalogic.Decode
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public virtual int EnableAllSymbologies(
	bool enable
)

Parameters

enable
Type: SystemBoolean
- boolean specifies whether or not the symbologies will be enabled. If false, the symbologies are disabled, otherwise they are enabled.

Return Value

Type: Int32
intSuccess in case of success, otherwise a possible error code, matching one of the DecodeException or ConfigException error constants.
Exceptions
ExceptionCondition
DecodeException - in case of error, when exceptions are enabled through the ErrorManager singleton.
ConfigException - in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks

Enables or disables all supported symbologies.

Note:

when the decoding configuration changes due a call to this method, it is not saved in a persistent way across system reboot.


Example:

public int enableAll() {

&nbsp&nbspdecoder.enableAllSymbologies(true);

}

[Android Documentation]

See Also