QCameraCaptureDestinationControl

The QCameraCaptureDestinationControl class provides a control for setting capture destination. More

Inheritance diagram of PySide2.QtMultimedia.QCameraCaptureDestinationControl

Detailed Description

Depending on backend capabilities capture to file, buffer or both can be supported.

The interface name of QCameraCaptureDestinationControl is org.qt-project.qt.cameracapturedestinationcontrol/5.0 as defined in QCameraCaptureDestinationControl_iid .

See also

requestControl()

class PySide2.QtMultimedia.QCameraCaptureDestinationControl([parent=None])
param parent:

PySide2.QtCore.QObject

Constructs a new image capture destination control object with the given parent

PySide2.QtMultimedia.QCameraCaptureDestinationControl.captureDestination()
Return type:

CaptureDestinations

Returns the current capture destination. The default destination is CaptureToFile .

PySide2.QtMultimedia.QCameraCaptureDestinationControl.captureDestinationChanged(destination)
Parameters:

destinationCaptureDestinations

PySide2.QtMultimedia.QCameraCaptureDestinationControl.isCaptureDestinationSupported(destination)
Parameters:

destinationCaptureDestinations

Return type:

bool

Returns true if the capture destination is supported; and false if it is not.

PySide2.QtMultimedia.QCameraCaptureDestinationControl.setCaptureDestination(destination)
Parameters:

destinationCaptureDestinations

Sets the capture destination .