The QCameraCaptureDestinationControl class provides a control for setting capture destination. 更多...
头: | #include <QCameraCaptureDestinationControl> |
qmake: | QT += multimedia |
继承: | 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 ) |
const QMetaObject | staticMetaObject |
QCameraCaptureDestinationControl (QObject * parent = nullptr) |
QCameraCaptureDestinationControl_iid |
The QCameraCaptureDestinationControl class provides a control for setting capture destination.
Depending on backend capabilities capture to file, buffer or both can be supported.
接口名称对于
QCameraCaptureDestinationControl
is
org.qt-project.qt.cameracapturedestinationcontrol/5.0
作为定义在
QCameraCaptureDestinationControl_iid
.
另请参阅 QMediaService::requestControl ().
[protected]
QCameraCaptureDestinationControl::
QCameraCaptureDestinationControl
(
QObject
*
parent
= 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 .
另请参阅 setCaptureDestination ().
[signal]
void
QCameraCaptureDestinationControl::
captureDestinationChanged
(
QCameraImageCapture::CaptureDestinations
destination
)
Signals the image capture destination 改变。
[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 .
另请参阅 captureDestination ().
org.qt-project.qt.cameracapturedestinationcontrol/5.0
定义接口名为 QCameraCaptureDestinationControl 类。