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
objectin The callback context.status
DeviceCaptureStatusin Current capture status of the device.parameter
intin Generic parameter. Error code associated with the capture status change, if Status is DeviceError.
Returns
typedef DeviceCaptureStatusChangedCallback = int Function(Object context, DeviceCaptureStatus status, int parameter)
Parameters
context
Objectin The callback context.status
DeviceCaptureStatusin Current capture status of the device.parameter
intin Generic parameter. Error code associated with the capture status change, if Status is DeviceError.
Returns
public delegate void _DeviceCaptureStatusChangedCallback(IntPtr context, DeviceCaptureStatus status, int parameter);
Parameters
context
IntPtrin The callback context.status
DeviceCaptureStatusin Current capture status of the device.parameter
intin Generic parameter. Error code associated with the capture status change, if Status is DeviceError.
Returns
@FunctionalInterface
public interface DeviceCaptureStatusChangedCallback {
int callback(Object context, DeviceCaptureStatus status, int parameter)
}
Parameters
context
Objectin The callback context.status
DeviceCaptureStatusin Current capture status of the device.parameter
intin Generic parameter. Error code associated with the capture status change, if Status is DeviceError.
Returns
typedef int (* id3DevicesDeviceCaptureStatusChangedCallback) (
void * context,
id3DevicesDeviceCaptureStatus eStatus,
int parameter)
Parameters
context
void *in The callback context.eStatus
id3DevicesDeviceCaptureStatusin Current capture status of the device.parameter
intin Generic parameter. Error code associated with the capture status change, if Status is DeviceError.
Returns