Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
androidmediametadataretriever_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 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 ANDROIDMEDIAMETADATARETRIEVER_H
5#define ANDROIDMEDIAMETADATARETRIEVER_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 <QtCore/private/qglobal_p.h>
19#include <QtCore/qurl.h>
20#include <QtCore/qjniobject.h>
21
23
25{
26public:
28 Album = 1,
30 Artist = 2,
31 Author = 3,
32 Bitrate = 20,
36 Date = 5,
39 Genre = 6,
42 Location = 23,
45 Title = 7,
49 Writer = 11,
50 Year = 8
51 };
52
55
57 bool setDataSource(const QUrl &url);
58
59private:
60 void release();
61 QJniObject m_metadataRetriever;
62};
63
65
66#endif // ANDROIDMEDIAMETADATARETRIEVER_H
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
GLuint64 key
QUrl url("example.com")
[constructor-url-reference]