This type is used for capturing a window. 更多...
导入语句: | import QtMultimedia |
Since: | Qt 6.6 |
实例化: | QWindowCapture |
WindowCapture captures a window. It is managed by MediaCaptureSession where the captured window can be displayed in a video preview object or recorded to a file.
另请参阅 CaptureSession and CapturableWindow .
active : bool |
Describes whether the capturing is currently active.
[read-only] error : string |
Returns a code of the last error.
[read-only] errorString : string |
Returns a human readable string describing the cause of error.
window : Window |
Describes the window for capturing.
另请参阅 QtMultimedia::WindowCapture::capturableWindows .
list < CapturableWindow > capturableWindows () |
Returns a list of CapturableWindow objects that is available for capturing.
start () |
stop () |