VideoFile.previewCallback Property

Module: VideoFile

Type: CaptureCallback

Definition

Callback function triggered when a new frame becomes available from the video file.

This can be used to display the current preview frame.

preview_callback: CaptureCallback

Exceptions

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

Exceptions

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

Exceptions

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

Exceptions

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

Returns

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