VideoFile.deviceStatusChangedCallback Property

Module: VideoFile

Type: DeviceCaptureStatusChangedCallback

Definition

Callback function invoked when the device’s status changes, such as when the device is opened or closed.

This allows the application to respond to changes in the device’s state.

device_status_changed_callback: DeviceCaptureStatusChangedCallback

Exceptions

An error has occurred during Devices Library execution.
set deviceStatusChangedCallback(DeviceCaptureStatusChangedCallback value) => setDeviceStatusChangedCallback(value);

Exceptions

An error has occurred during Devices Library execution.
public DeviceCaptureStatusChangedCallback deviceStatusChangedCallback
{
    set => SetdeviceStatusChangedCallback(ref value);
}

Exceptions

An error has occurred during Devices Library execution.
public void setDeviceStatusChangedCallback(DeviceCaptureStatusChangedCallback deviceStatusChangedCallback) throws DevicesException

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesVideoFile_SetDeviceStatusChangedCallback (ID3_DEVICES_VIDEO_FILE hVideoFile, id3DevicesDeviceCaptureStatusChangedCallback deviceStatusChangedCallback, void * context)

Returns

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