ZebraScanEngines_ScanBarcode


Scans a barcode using a Zebra scanner.

Syntax

C++
Python
 
def ZebraScanEngines_ScanBarcode(
	state: ZebraScanEngines_State,
	outRawData: ByteBuffer,
	/,
	*,
	inDeviceID: int | None = None
)
-> (
	outResult: bool,
	outBarcodeType: ZebraScanEnginesBarcodeDataTypes,
	outBarcodeDecoded: str
)

Parameters

Name Type Range Default Description
Input will be modified ioState ZebraScanEngines_State
Input value inDeviceID int | None 1 - None Device identifying number
Output value outBarcodeType ZebraScanEnginesBarcodeDataTypes Barcode type
Output value outBarcodeDecoded str Barcode data
Output value outRawData ByteBuffer Raw barcode data

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.