BarcodeReader.waitForCapture Method¶
Module: BarcodeReader
Definition¶
Blocks until new capture data is available or a timeout occurs.
wait_for_capture(self, timeout: int) -> bool
Parameters
timeout
intin The maximum time to wait for new data.
Returns
bool
Outputs whether new capture data is available following the wait.
Exceptions
An error has occurred during Devices Library execution.
bool waitForCapture(int timeout)
Parameters
timeout
intin The maximum time to wait for new data.
Returns
bool
Outputs whether new capture data is available following the wait.
Exceptions
An error has occurred during Devices Library execution.
public bool WaitForCapture(int timeout)
Parameters
timeout
intin The maximum time to wait for new data.
Returns
bool
Outputs whether new capture data is available following the wait.
Exceptions
An error has occurred during Devices Library execution.
public boolean waitForCapture(int timeout) throws DevicesException
Parameters
timeout
intin The maximum time to wait for new data.
Returns
boolean
Outputs whether new capture data is available following the wait.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesBarcodeReader_WaitForCapture (
ID3_DEVICES_BARCODE_READER hBarcodeReader,
int timeout,
bool * available)
Parameters
hBarcodeReader
ID3_DEVICES_BARCODE_READERin Handle to the BarcodeReader object.timeout
intin The maximum time to wait for new data.available
bool *out Outputs whether new capture data is available following the wait.
Returns