Camera.waitForCapture Method

Module: Camera

Definition

Waits for new capture data within a specified timeout period.

bool waitForCapture(int timeout, bool doEvent)

Parameters

timeout int
in Time to wait for new data before timing out.

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

Returns

bool
Outputs whether new capture data is available.

Exceptions

An error has occurred during Devices Library execution.