Back to FabImage Library website
You are here: Start » Function Reference » Camera Support » ZebraScanEngines » ZebraScanEngines_ScanBarcode_WithTimeout
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Scans a barcode using a Zebra scanner.
Syntax
bool fil::ZebraScanEngines_ScanBarcode_WithTimeout ( ZebraScanEngines_State& ioState, int inTimeout, ftl::Optional<int> inDeviceID, ftl::Conditional<fil::ZebraScanEnginesBarcodeDataTypes::Type>& outBarcodeType, ftl::Conditional<ftl::String>& outBarcodeDecoded, ftl::Conditional<fil::ByteBuffer>& outRawData )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
ioState | ZebraScanEngines_State& | Object used to maintain state of the function. | ||
![]() |
inTimeout | int | 1 - ![]() |
100 | Maximum time to wait for a barcode in milliseconds |
![]() |
inDeviceID | Optional<int> | 1 - ![]() |
NIL | Device identifying number |
![]() |
outBarcodeType | Conditional<ZebraScanEnginesBarcodeDataTypes::Type>& | Barcode type | ||
![]() |
outBarcodeDecoded | Conditional<String>& | Barcode data | ||
![]() |
outRawData | Conditional<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.