Back to FabImage Library website

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

ZebraScanEngines_ScanBarcode


Header: ThirdPartySdk.h
Namespace: fil
Module: ThirdParty

Scans a barcode using a Zebra scanner.

Syntax

bool fil::ZebraScanEngines_ScanBarcode
(
	ZebraScanEngines_State& ioState,
	ftl::Optional<int> inDeviceID,
	fil::ZebraScanEnginesBarcodeDataTypes::Type& outBarcodeType,
	ftl::String& outBarcodeDecoded,
	fil::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.