4#ifndef QNEARFIELDMANAGER_IOS_P_H
5#define QNEARFIELDMANAGER_IOS_P_H
17#include <QtCore/private/qcore_mac_p.h>
24#import <os/availability.h>
33class QNearFieldTargetPrivateImpl;
48 bool isSupported(QNearFieldTarget::AccessMethod accessMethod)
const override;
61 QIosNfcNdefSessionDelegate *ndefDelegate =
nullptr;
62 bool detectionRunning =
false;
63 bool isSessionScheduled =
false;
65 QList<QPointer<QNearFieldTargetPrivateImpl>> detectedTargets;
68 bool scheduleSession(QNearFieldTarget::AccessMethod accessMethod);
70 bool startNdefSession();
71 void stopSession(
const QString &error);
72 void stopNdefSession(
const QString &error);
78 void onDidInvalidateWithError(
bool doRestart);
79 void onSessionTimer();
bool isEnabled() const override
void didInvalidateWithError(bool doRestart)
bool isSupported(QNearFieldTarget::AccessMethod accessMethod) const override
bool startTargetDetection(QNearFieldTarget::AccessMethod accessMethod) override
void setUserInformation(const QString &message) override
~QNearFieldManagerPrivateImpl()
void stopTargetDetection(const QString &errorMessage) override
API_AVAILABLE(ios(13.4)) Qt
Q_FORWARD_DECLARE_OBJC_CLASS(QT_MANGLE_NAMESPACE(RunLoopModeTracker))
QT_NAMESPACE_ALIAS_OBJC_CLASS(QIosNfcNdefSessionDelegate)