Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qandroidvideodevices_p.h
Go to the documentation of this file.
1
// Copyright (C) 2022 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
QANDROIDVIDEODEVICES_H
5
#
define
QANDROIDVIDEODEVICES_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QObject
>
19
#
include
<
QJniObject
>
20
21
#
include
<
QtMultimedia
/
private
/
qplatformvideodevices_p
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
Q_DECLARE_JNI_CLASS
(
26
QtCameraAvailabilityListener,
27
"org/qtproject/qt/android/multimedia/qffmpeg/QtCameraAvailabilityListener"
);
28
29
namespace
QFFmpeg
{
30
31
using
QJavaCameraAvailabilityListener
=
QtJniTypes
::
QtCameraAvailabilityListener
;
32
33
class
QAndroidVideoDevices
:
public
QPlatformVideoDevices
34
{
35
Q_OBJECT
36
public
:
37
QAndroidVideoDevices
(
QPlatformMediaIntegration
*
integration
);
38
~
QAndroidVideoDevices
()
override
;
39
40
using
QPlatformVideoDevices
::
onVideoInputsChanged
;
41
42
[[nodiscard]]
static
bool
registerNativeMethods
();
43
44
protected
:
45
QList
<
QCameraDevice
>
findVideoInputs
()
const
override
;
46
47
private
:
48
QJavaCameraAvailabilityListener m_javaCameraAvailabilityListener;
49
};
50
51
}
// namespace QFFmpeg
52
53
QT_END_NAMESPACE
54
55
#
endif
// QANDROIDVIDEODEVICES_H
QFFmpeg::QAndroidVideoDevices
Definition
qandroidvideodevices_p.h:34
QFFmpeg::QAndroidVideoDevices::findVideoInputs
QList< QCameraDevice > findVideoInputs() const override
Definition
qandroidvideodevices.cpp:55
QFFmpeg::QAndroidVideoDevices::registerNativeMethods
static bool registerNativeMethods()
Definition
qandroidvideodevices.cpp:180
QFFmpeg::QAndroidVideoDevices::~QAndroidVideoDevices
~QAndroidVideoDevices() override
Definition
qandroidvideodevices.cpp:35
QFFmpeg::QMacScreenCaptureStreamDelegate
QT_MANGLE_NAMESPACE(QMacScreenCaptureStreamDelegate) QMacScreenCaptureStreamDelegate
Definition
qmacscreencapturekit_p.h:46
Q_DECLARE_JNI_CLASS
Q_DECLARE_JNI_CLASS(MotionEvent, "android/view/MotionEvent")
qtmultimedia
src
plugins
multimedia
ffmpeg
android
qandroidvideodevices_p.h
Generated on
for Qt by
1.16.1