4#ifndef QNEARFIELDTARGET_H
5#define QNEARFIELDTARGET_H
7#include <QtCore/QByteArray>
9#include <QtCore/QMetaType>
10#include <QtCore/QObject>
11#include <QtCore/QSharedDataPointer>
12#include <QtCore/QVariant>
13#include <QtNfc/qtnfcglobal.h>
44 TagTypeSpecificAccess = 0x02,
66 class RequestIdPrivate;
92 AccessMethods accessMethods()
const;
97 bool hasNdefMessage();
102 int maxCommandLength()
const;
105 bool waitForRequestCompleted(
const RequestId &
id,
int msecs = 5000);
The QNdefMessage class provides an NFC NDEF message.
\inmodule QtNfc \inheaderfile QNearFieldTarget
QSharedDataPointer< RequestIdPrivate > d
The QNearFieldTarget class provides an interface for communicating with a target device.
void error(QNearFieldTarget::Error error, const QNearFieldTarget::RequestId &id)
This signal is emitted when an error occurs while processing request id.
void requestCompleted(const QNearFieldTarget::RequestId &id)
This signal is emitted when a request id completes.
void disconnected()
This signal is emitted when the near field target moves out of proximity.
void ndefMessageRead(const QNdefMessage &message)
This signal is emitted when a complete NDEF message has been read from the target.
AccessMethod
This enum describes the access methods a near field target supports.
Error
This enum describes the error codes that a near field target reports.
QScopedPointer< QObjectData > d_ptr
Combined button and popup list for selecting options.
constexpr bool operator!=(const timespec &t1, const timespec &t2)
DBusConnection const char DBusError * error
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
GLuint GLsizei const GLchar * message
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
static bool operator<(const QSettingsIniKey &k1, const QSettingsIniKey &k2)
myObject disconnect()
[26]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent