Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
26
QT_BEGIN_NAMESPACE
27
28
class
QNdefMessage;
29
class
QString;
30
31
class
QNfcNdefNotifier
:
public
QObject
32
{
33
Q_OBJECT
34
35
public
:
36
QNfcNdefNotifier
() =
default
;
37
38
Q_SIGNALS
:
39
void
tagDetected
(
void
*
tag
);
40
void
invalidateWithError
(
bool
restart);
41
void
tagLost
(
void
*tag);
42
43
void
tagError
(QNearFieldTarget::Error code, QNearFieldTarget::RequestId request);
44
45
void
ndefMessageWritten
(QNearFieldTarget::RequestId request);
46
void
ndefMessageRead
(
const
QNdefMessage
&message, QNearFieldTarget::RequestId request);
47
48
private
:
49
Q_DISABLE_COPY_MOVE
(
QNfcNdefNotifier
);
50
};
51
52
Q_DECLARE_LOGGING_CATEGORY(QT_IOS_NFC)
53
54
QT_END_NAMESPACE
55
56
#
endif
//QIOSNDEFNOTIFIER_P_H
QNdefMessage
The QNdefMessage class provides an NFC NDEF message.
Definition
qndefmessage.h:23
QNfcNdefNotifier
Definition
qiosndefnotifier_p.h:32
QNfcNdefNotifier::tagError
void tagError(QNearFieldTarget::Error code, QNearFieldTarget::RequestId request)
QNfcNdefNotifier::ndefMessageRead
void ndefMessageRead(const QNdefMessage &message, QNearFieldTarget::RequestId request)
QNfcNdefNotifier::ndefMessageWritten
void ndefMessageWritten(QNearFieldTarget::RequestId request)
QNfcNdefNotifier::invalidateWithError
void invalidateWithError(bool restart)
QNfcNdefNotifier::tagLost
void tagLost(void *tag)
qtconnectivity
src
nfc
ios
qiosndefnotifier_p.h
Generated on
for Qt by
1.18.0