Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqnxmediarecorder_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#ifndef QQNXMEDIARECORDER_H
4#define QQNXMEDIARECORDER_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include "qqnxaudiorecorder_p.h"
18
19#include <private/qplatformmediarecorder_p.h>
20
22
24
26{
27public:
29
30 bool isLocationWritable(const QUrl &location) const override;
31
33 void stop() override;
34
36
37private:
38 bool hasCamera() const;
39
40 void startAudioRecording(QMediaEncoderSettings &settings);
41 void startVideoRecording(QMediaEncoderSettings &settings);
42 void stopVideoRecording();
43
44 QQnxAudioRecorder m_audioRecorder;
45
46 QQnxMediaCaptureSession *m_session = nullptr;
47};
48
50
51#endif
\inmodule QtMultimedia
bool isLocationWritable(const QUrl &location) const override
void record(QMediaEncoderSettings &settings) override
void setCaptureSession(QQnxMediaCaptureSession *session)
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
GLint location
QSettings settings("MySoft", "Star Runner")
[0]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent