WindowCapture QML 類型

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

import 語句: import QtMultimedia
Since: Qt 6.6
在 C++: 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.

Window Capture Limitations

The following limitations apply to using WindowCapture:

  • WindowCapture is only supported with the FFmpeg backend.

另請參閱 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 ()

內容

  1. 特性

  2. 方法

  3. 詳細描述

  4. Window Capture Limitations