DeviceCaptureStatusChangedCallback Callback

Definition

Specifies a callback for handling changes in the capture status of a device, including errors.

device_capture_status_changed_callback(context: object, status: DeviceCaptureStatus, parameter: int) -> int

Parameters

context object
in The callback context.

in Current capture status of the device.

parameter int
in Generic parameter. Error code associated with the capture status change, if Status is DeviceError.

Returns

int
An error code.
See DevicesError file for the list of possible error codes.
typedef DeviceCaptureStatusChangedCallback = int Function(Object context, DeviceCaptureStatus status, int parameter)

Parameters

context Object
in The callback context.

in Current capture status of the device.

parameter int
in Generic parameter. Error code associated with the capture status change, if Status is DeviceError.

Returns

int
An error code.
See DevicesError file for the list of possible error codes.
public delegate void _DeviceCaptureStatusChangedCallback(IntPtr context, DeviceCaptureStatus status, int parameter);

Parameters

context IntPtr
in The callback context.

in Current capture status of the device.

parameter int
in Generic parameter. Error code associated with the capture status change, if Status is DeviceError.

Returns

int
An error code.
See DevicesError file for the list of possible error codes.
@FunctionalInterface
public interface DeviceCaptureStatusChangedCallback {
    int callback(Object context, DeviceCaptureStatus status, int parameter)
}

Parameters

context Object
in The callback context.

in Current capture status of the device.

parameter int
in Generic parameter. Error code associated with the capture status change, if Status is DeviceError.

Returns

int
An error code.
See DevicesError file for the list of possible error codes.
typedef int (* id3DevicesDeviceCaptureStatusChangedCallback) (
    void * context,
    id3DevicesDeviceCaptureStatus eStatus,
    int parameter)

Parameters

context void *
in The callback context.

in Current capture status of the device.

parameter int
in Generic parameter. Error code associated with the capture status change, if Status is DeviceError.

Returns

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