Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qiostagreaderdelegate_p.h
Go to the documentation of this file.
1// Copyright (C) 2020 Governikus GmbH & Co. KG
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 QIOSTAGREADERDELEGATE_P_H
5#define QIOSTAGREADERDELEGATE_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 <QString>
19
20#import <CoreNFC/NFCReaderSession.h>
21#import <CoreNFC/NFCTagReaderSession.h>
22#import <Foundation/Foundation.h>
23
24QT_BEGIN_NAMESPACE
25
26class QNearFieldManagerPrivateImpl;
27
29
30API_AVAILABLE(ios(13.0))
31@interface QT_MANGLE_NAMESPACE(QIosTagReaderDelegate)
32 : NSObject<NFCTagReaderSessionDelegate>
33
34@property QNearFieldManagerPrivateImpl *listener;
35@property bool sessionStoppedByApplication;
36@property (nonatomic, strong) NSString *message;
37@property (nonatomic, strong) NFCTagReaderSession *session;
38
39- (instancetype)initWithListener:(QNearFieldManagerPrivateImpl *)listener;
40
41- (void)startSession;
42- (void)stopSession:(QString)message;
43
44- (void)alertMessage:(QString)message;
45
46@end
47
48#endif // QIOSTAGREADERDELEGATE_P_H
API_AVAILABLE(ios(13.4)) Qt