QCameraCaptureDestinationControl Class

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

Header: #include <QCameraCaptureDestinationControl>
qmake: QT += multimedia
Inherits: QMediaControl

Public Functions

~QCameraCaptureDestinationControl()
virtual QCameraImageCapture::CaptureDestinations captureDestination() const = 0
virtual bool isCaptureDestinationSupported(QCameraImageCapture::CaptureDestinations destination) const = 0
virtual void setCaptureDestination(QCameraImageCapture::CaptureDestinations destination) = 0
  • 31 public functions inherited from QObject

Signals

void captureDestinationChanged(QCameraImageCapture::CaptureDestinations destination)

Protected Functions

QCameraCaptureDestinationControl(QObject *parent = Q_NULLPTR)
  • 9 protected functions inherited from QObject

Macros

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 11 static public members inherited from QObject

Detailed Description

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().

Member Function Documentation

[protected] QCameraCaptureDestinationControl::QCameraCaptureDestinationControl(QObject *parent = Q_NULLPTR)

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

QCameraCaptureDestinationControl::~QCameraCaptureDestinationControl()

Destroys an image capture destination control.

[pure virtual] QCameraImageCapture::CaptureDestinations QCameraCaptureDestinationControl::captureDestination() const

Returns 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) const

Returns 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().

Macro Documentation

QCameraCaptureDestinationControl_iid

org.qt-project.qt.cameracapturedestinationcontrol/5.0

Defines the interface name of the QCameraCaptureDestinationControl class.

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.