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 | |
|---|---|---|---|---|---|
![]() |
ioState | ZebraScanEngines_State | |||
![]() |
inDeviceID | int | None | 1 - ![]() |
None | Device identifying number |
![]() |
outBarcodeType | ZebraScanEnginesBarcodeDataTypes | Barcode type | ||
![]() |
outBarcodeDecoded | str | Barcode data | ||
![]() |
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.




