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
qandroidmetadata_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 QANDROIDMETADATA_H
5#define QANDROIDMETADATA_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 <qmediametadata.h>
19#include <qurl.h>
20#include <QMutex>
21#include <QVariant>
22
24
26
28{
29public:
31
33 const QString &mimeType, const QString &language);
34
35 int trackType() const;
36 int androidTrackType() const;
37 int androidTrackNumber() const;
38
39private:
40 int mTrackType;
41 int mAndroidTrackType;
42 int mAndroidTrackNumber;
43};
44
46
47#endif // QANDROIDMETADATA_H
static QMediaMetaData extractMetadata(const QUrl &url)
int androidTrackType() const
QAndroidMetaData(int trackType, int androidTrackType, int androidTrackNumber, const QString &mimeType, const QString &language)
int androidTrackNumber() const
\inmodule QtMultimedia
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
const char * mimeType
QUrl url("example.com")
[constructor-url-reference]