Click or drag to resize

BarcodeManagerIsSymbologyEnabled Method

Returns current enable setting for a particular barcode symbology.

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 bool IsSymbologyEnabled(
	Symbology barcodeType
)

Parameters

barcodeType
Type: Com.Datalogic.DecodeSymbology
- This gets the current enable setting for a particular data type. (one of the barcode typein the Symbology class).

Return Value

Type: Boolean
boolean False is returned if the particular data type is disabled, and true is returned otherwise.
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

Returns current enable setting for a particular barcode symbology.


Example:

public boolean isCode39Enabled(BarcodeManager decoder) {


&nbsp&nbspreturn decoder.isSymbologyEnabled(Symbology.CODE39);


}

[Android Documentation]

See Also