gehe zur Dokumentation dieser Datei
11 #include <QNearFieldTarget>
12 #include <QScopedPointer>
25 QScopedPointer<QNearFieldTarget> mNearFieldTarget;
28 explicit NfcCard(QNearFieldTarget* pNearFieldTarget);
30 [[nodiscard]]
bool isValid()
const;
33 CardReturnCode
connect()
override;
void fireTargetError(QNearFieldTarget::Error pError)
Definition: CommandApdu.h:16
CardReturnCode connect() override
Establish a connection to the smart card.
Definition: NfcCard.cpp:51
void fireSetProgressMessage(const QString &pMessage)
Definition: ResponseApdu.h:84
bool isValid() const
Definition: NfcCard.cpp:33
bool invalidateTarget(QNearFieldTarget *pNearFieldTarget)
Definition: NfcCard.cpp:39
bool isConnected() override
Is the smart card connected, i.e.
Definition: NfcCard.cpp:84
CardReturnCode disconnect() override
Destroys the previously established connection to the smart card.
Definition: NfcCard.cpp:64
const QByteArray & getBuffer() const
Definition: Apdu.cpp:31
static QString generateProgressMessage(const QString &pMessage, int pProgress=-1)
Combines the message and progressvalue depending on the environment.
Definition: Card.cpp:56
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15
void setProgressMessage(const QString &pMessage, int pProgress=-1) override
Sets the current workflow progress message.
Definition: NfcCard.cpp:90
ResponseApduResult transmit(const CommandApdu &pCmd) override
Performs a transmit to the smart card.
Definition: NfcCard.cpp:97
Definition: ResponseApdu.h:107
NfcCard(QNearFieldTarget *pNearFieldTarget)
Definition: NfcCard.cpp:16