Back to Aurora Vision Library Lite website
You are here: Start » Camera Support » ZebraScanEngines » ZebraScanEngines_ScanBarcode_WithTimeout
ZebraScanEngines_ScanBarcode_WithTimeout
Header: | ThirdPartySdk.h |
---|---|
Namespace: | avl |
Scans a barcode using a Zebra scanner.
Syntax
bool avl::ZebraScanEngines_ScanBarcode_WithTimeout ( ZebraScanEngines_State& ioState, int inTimeout, atl::Optional<int> inDeviceID, atl::Conditional<avl::ZebraScanEnginesBarcodeDataTypes::Type>& outBarcodeType, atl::Conditional<atl::String>& outBarcodeDecoded, atl::Conditional<avl::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.