内容表

上一话题

QCameraCaptureBufferFormatControl

下一话题

QCameraControl

QCameraCaptureDestinationControl

QCameraCaptureDestinationControl class provides a control for setting capture destination. 更多

Inheritance diagram of PySide2.QtMultimedia.QCameraCaptureDestinationControl

详细描述

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 作为定义在 QCameraCaptureDestinationControl_iid .

另请参阅

requestControl()

class QCameraCaptureDestinationControl ( [ parent=None ] )
param parent

QObject

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

PySide2.QtMultimedia.QCameraCaptureDestinationControl. captureDestination ( )
返回类型

CaptureDestinations

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

PySide2.QtMultimedia.QCameraCaptureDestinationControl. captureDestinationChanged ( destination )
参数

destination CaptureDestinations

PySide2.QtMultimedia.QCameraCaptureDestinationControl. isCaptureDestinationSupported ( destination )
参数

destination CaptureDestinations

返回类型

bool

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

PySide2.QtMultimedia.QCameraCaptureDestinationControl. setCaptureDestination ( destination )
参数

destination CaptureDestinations

Sets the capture destination .