The QCameraCaptureDestinationControl class provides a control for setting capture destination. More...
Header: | #include <QCameraCaptureDestinationControl> |
qmake: | QT += multimedia |
Inherits: | QMediaControl |
virtual | ~QCameraCaptureDestinationControl() |
virtual QCameraImageCapture::CaptureDestinations | captureDestination() const = 0 |
virtual bool | isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination) const = 0 |
virtual void | setCaptureDestination(QCameraImageCapture::CaptureDestinations destination) = 0 |
void | captureDestinationChanged(QCameraImageCapture::CaptureDestinations destination) |
QCameraCaptureDestinationControl(QObject *parent = nullptr) |
The QCameraCaptureDestinationControl class provides a control for setting capture destination.
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 QMediaService::requestControl().
[protected]
QCameraCaptureDestinationControl::QCameraCaptureDestinationControl(QObject *parent = nullptr)Constructs a new image capture destination control object with the given parent
[virtual]
QCameraCaptureDestinationControl::~QCameraCaptureDestinationControl()Destroys an image capture destination control.
[pure virtual]
QCameraImageCapture::CaptureDestinations QCameraCaptureDestinationControl::captureDestination() constReturns the current capture destination. The default destination is QCameraImageCapture::CaptureToFile.
See also setCaptureDestination().
[signal]
void QCameraCaptureDestinationControl::captureDestinationChanged(QCameraImageCapture::CaptureDestinations destination)Signals the image capture destination changed.
[pure virtual]
bool
QCameraCaptureDestinationControl::isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations
destination) constReturns true if the capture destination is supported; and false if it is not.
[pure virtual]
void QCameraCaptureDestinationControl::setCaptureDestination(QCameraImageCapture::CaptureDestinations destination)Sets the capture destination.
See also captureDestination().
org.qt-project.qt.cameracapturedestinationcontrol/5.0
Defines the interface name of the QCameraCaptureDestinationControl class.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: