WindowCapture QML 类型

This type is used for capturing a window. 更多...

import 语句: 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.

error : enumeration [read-only]

Returns a code of the last error.

errorString : string [read-only]

Returns a human readable string describing the cause of error.

window : Window

描述用于捕获的窗口。

另请参阅 QtMultimedia::WindowCapture::capturableWindows .

方法文档编制

list < CapturableWindow > capturableWindows ()

Returns a list of CapturableWindow objects that is available for capturing.

start ()

stop ()