Back to FabImage Library website
You are here: Start » Function Reference » Camera Support » ZebraScanEngines » 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 | |
---|---|---|---|---|---|
![]() |
ioState | ZebraScanEngines_State& | Object used to maintain state of the function. | ||
![]() |
inDeviceID | Optional<int> | 1 - ![]() |
NIL | Device identifying number |
![]() |
outBarcodeType | ZebraScanEnginesBarcodeDataTypes::Type& | Barcode type | ||
![]() |
outBarcodeDecoded | String& | 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.