Click or drag to resize

BarcodeManagerIsSymbologySupported Method

Return true if the device's decoder is able to read 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 IsSymbologySupported(
	Symbology barcodeType
)

Parameters

barcodeType
Type: Com.Datalogic.DecodeSymbology
- Barcode type is one of the Symbology.

Return Value

Type: Boolean
boolean False is returned if the decoder is not able to read the particular barcode type, 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

Return true if the device's decoder is able to read a particular barcode symbology.


Example:

public boolean isQRSupported(BarcodeManager decoder) {


&nbsp&nbspreturn decoder.isSymbologySupported(Symbology.QRCODE);


}

[Android Documentation]

See Also