WindowCapture QML Type

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

内容