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 (Com.Datalogic.Decode.Symbology barcodeType);
Public Virtual Boolean IsSymbologyEnabled (Com.Datalogic.Decode.Symbology barcodeType);
Parameters
- barcodeType
- Type: Com.Datalogic.Decode.Symbology
This gets the current
enable setting for a particular data type. (one of the
barcode typein the Symbology class).
Return Value
Type: System.Boolean
boolean False is returned if the
particular data type is disabled, and true is returned
otherwise.
Exceptions
Exception |
Condition |
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) {
return
decoder.isSymbologyEnabled(Symbology.CODE39);
}
[Android Documentation]
See Also