Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qiosndefnotifier_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 QIOSNDEFNOTIFIER_P_H
5#define QIOSNDEFNOTIFIER_P_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/qglobal.h>
19#include <QtCore/qobject.h>
20
21#include <QtCore/qloggingcategory.h>
22
23#include "qnearfieldmanager.h"
24#include "qnearfieldtarget.h"
25
27
28class QNdefMessage;
29class QString;
30
32{
34
35public:
36 QNfcNdefNotifier() = default;
37
39 void tagDetected(void *tag);
40 void invalidateWithError(bool restart);
41 void tagLost(void *tag);
42
44
47
48private:
49 Q_DISABLE_COPY_MOVE(QNfcNdefNotifier);
50};
51
53
55
56#endif //QIOSNDEFNOTIFIER_P_H
The QNdefMessage class provides an NFC NDEF message.
\inmodule QtNfc \inheaderfile QNearFieldTarget
Error
This enum describes the error codes that a near field target reports.
void tagDetected(void *tag)
QNfcNdefNotifier()=default
void tagError(QNearFieldTarget::Error code, QNearFieldTarget::RequestId request)
void ndefMessageRead(const QNdefMessage &message, QNearFieldTarget::RequestId request)
void ndefMessageWritten(QNearFieldTarget::RequestId request)
void invalidateWithError(bool restart)
void tagLost(void *tag)
\inmodule QtCore
Definition qobject.h:90
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
AudioChannelLayoutTag tag
#define Q_DECLARE_LOGGING_CATEGORY(name)
GLuint GLsizei const GLchar * message
#define Q_OBJECT
#define Q_SIGNALS
QNetworkRequest request(url)