Back to Aurora Vision Library website

You are here: Start » Function Reference » Camera Support » ZebraScanEngines » ZebraScanEngines_ScanBarcode

ZebraScanEngines_ScanBarcode


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Scans a barcode using a Zebra scanner.

Syntax

bool avl::ZebraScanEngines_ScanBarcode
(
	ZebraScanEngines_State& ioState,
	atl::Optional<int> inDeviceID,
	avl::ZebraScanEnginesBarcodeDataTypes::Type& outBarcodeType,
	atl::String& outBarcodeDecoded,
	avl::ByteBuffer& outRawData
)

Parameters

Name Type Range Default Description
Input will be modified ioState ZebraScanEngines_State& Object used to maintain state of the function.
Input value inDeviceID Optional<int> 1 - NIL Device identifying number
Output value outBarcodeType ZebraScanEnginesBarcodeDataTypes::Type& Barcode type
Output value outBarcodeDecoded String& 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.