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 int
in 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 int
in 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 int
in 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 int
in 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

in Handle to the BarcodeReader object.

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

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

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.