WindowCapture QML Type
この型はウィンドウのキャプチャに使用する。詳細...
Import Statement: | import QtMultimedia |
Since: | Qt 6.6 |
In C++: | QWindowCapture |
プロパティ
- active : bool
- error : enumeration
- errorString : string
- window : Window
方法
- list<CapturableWindow> capturableWindows()
- start()
- stop()
詳しい説明
WindowCaptureはウィンドウをキャプチャします。MediaCaptureSession によって管理され、キャプチャされたウィンドウはビデオプレビューオブジェクトに表示されるか、ファイルに記録されます。
ウィンドウ キャプチャの制限事項
WindowCaptureの使用には以下の制限があります:
- WindowCaptureはFFmpegバックエンドでのみサポートされています。
CaptureSession およびCapturableWindowも参照してください 。
プロパティ ドキュメント
active : bool |
キャプチャが現在アクティブかどうかを記述します。
error : enumeration |
最後のエラーのコードを返します。
errorString : string |
エラーの原因を説明する、人間が読める文字列を返します。
window : Window |
キャプチャ用のウィンドウについて説明します。
メソッドの説明
list<CapturableWindow> capturableWindows() |
キャプチャ可能なCapturableWindow オブジェクトのリストを返します。
start() |
stop() |
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.