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
24
26 QtCameraAvailabilityListener,
27 "org/qtproject/qt/android/multimedia/QtCameraAvailabilityListener");
28
29namespace QFFmpeg {
30
32
34{
36public:
39
41
42 [[nodiscard]] static bool registerNativeMethods();
43
44protected:
45 QList<QCameraDevice> findVideoInputs() const override;
46
47private:
48 QJavaCameraAvailabilityListener m_javaCameraAvailabilityListener;
49};
50
51} // namespace QFFmpeg
52
53QT_END_NAMESPACE
54
55#endif // QANDROIDVIDEODEVICES_H
QList< QCameraDevice > findVideoInputs() const override
std::conditional_t< QT_FFMPEG_AVIO_WRITE_CONST, const uint8_t *, uint8_t * > AvioWriteBufferType
Q_DECLARE_JNI_CLASS(MotionEvent, "android/view/MotionEvent")