VideoFile.takeSnapshotCallback Property

Module: VideoFile

Type: CaptureCallback

Definition

Callback function triggered when a snapshot is completed.

This allows the application to handle the snapshot data, such as saving the captured image for later use.

take_snapshot_callback: CaptureCallback

Exceptions

An error has occurred during Devices Library execution.
set takeSnapshotCallback(CaptureCallback value) => setTakeSnapshotCallback(value);

Exceptions

An error has occurred during Devices Library execution.
public CaptureCallback takeSnapshotCallback
{
    set => SettakeSnapshotCallback(ref value);
}

Exceptions

An error has occurred during Devices Library execution.
public void setTakeSnapshotCallback(CaptureCallback takeSnapshotCallback) throws DevicesException

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesVideoFile_SetTakeSnapshotCallback (ID3_DEVICES_VIDEO_FILE hVideoFile, id3DevicesCaptureCallback takeSnapshotCallback, void * context)

Returns

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