Camera.waitForCapture Method¶
Module: Camera
Definition¶
Waits for new capture data within a specified timeout period.
wait_for_capture(self, timeout: int) -> bool
Parameters
timeout
intin Time to wait for new data before timing out.
Returns
bool
Outputs whether new capture data is available.
Exceptions
An error has occurred during Devices Library execution.
bool waitForCapture(int timeout)
Parameters
timeout
intin Time to wait for new data before timing out.
Returns
bool
Outputs whether new capture data is available.
Exceptions
An error has occurred during Devices Library execution.
public bool WaitForCapture(int timeout)
Parameters
timeout
intin Time to wait for new data before timing out.
Returns
bool
Outputs whether new capture data is available.
Exceptions
An error has occurred during Devices Library execution.
public boolean waitForCapture(int timeout) throws DevicesException
Parameters
timeout
intin Time to wait for new data before timing out.
Returns
boolean
Outputs whether new capture data is available.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesCamera_WaitForCapture (
ID3_DEVICES_CAMERA hCamera,
int timeout,
bool * available)
Parameters
hCamera
ID3_DEVICES_CAMERAin Handle to the Camera object.timeout
intin Time to wait for new data before timing out.available
bool *out Outputs whether new capture data is available.
Returns