BarcodeReader.waitForCapture Method

Module: BarcodeReader

Definition

Blocks until new capture data is available or a timeout occurs.

bool waitForCapture(int timeout, bool doEvent)

Parameters

timeout int
in The maximum time to wait for new data.

doEvent bool
in Call doEvent() in the wait loop.

Returns

bool
Outputs whether new capture data is available following the wait.

Exceptions

An error has occurred during Devices Library execution.