QCameraCaptureDestinationControl Class

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

宏文档编制

QCameraCaptureDestinationControl_iid

org.qt-project.qt.cameracapturedestinationcontrol/5.0

定义接口名为 QCameraCaptureDestinationControl 类。