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
qandroidimagecapture_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 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 QANDROIDCAMERAIMAGECAPTURECONTROL_H
5#define QANDROIDCAMERAIMAGECAPTURECONTROL_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 <private/qplatformimagecapture_p.h>
19
20QT_BEGIN_NAMESPACE
21
22class QAndroidCameraSession;
24
26{
28public:
29 explicit QAndroidImageCapture(QImageCapture *parent = nullptr);
30
31 bool isReadyForCapture() const override;
32
33 int capture(const QString &fileName) override;
35
36 QImageEncoderSettings imageSettings() const override;
37 void setImageSettings(const QImageEncoderSettings &settings) override;
38
39 void setCaptureSession(QPlatformMediaCaptureSession *session);
40
41private:
42 QAndroidCameraSession *m_session;
44};
45
46QT_END_NAMESPACE
47
48#endif // QANDROIDCAMERAIMAGECAPTURECONTROL_H
void readyForCaptureChanged(bool)
void imageExposed(int id)
QImageEncoderSettings imageSettings() const override
void setCaptureSession(QPlatformMediaCaptureSession *session)
void setImageSettings(const QImageEncoderSettings &settings) override
int capture(const QString &fileName) override
bool isReadyForCapture() const override
QAndroidCameraSession * cameraSession() const
\inmodule QtMultimedia
QObject * parent
Definition qobject.h:74
Combined button and popup list for selecting options.