QNearFieldTarget
#include <QtConnectivity/QNearFieldTarget>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QNearFieldTarget
Overview
Classes
Inheritance
QNearFieldTarget | |||||||||
QNearFieldTagType1 | |||||||||
QNearFieldTagType2 | |||||||||
QNearFieldTagType3 | |||||||||
QNearFieldTagType4 |
Public Types Index
enum AccessMethod | |
enum ErrorNoError, UnknownError, UnsupportedError, TargetOutOfRangeError, NoResponseError, ChecksumMismatchError, InvalidParametersError, NdefReadError, NdefWriteError | |
enum TypeAnyTarget, ProprietaryTag, NfcTagType1, NfcTagType2, NfcTagType3, NfcTagType4, MifareTag, NfcForumDevice |
Public Functions Index
QNearFieldTarget (QObject *parent=0) | |
virtual | ~QNearFieldTarget () |
AccessMethods | accessMethods () const =0 |
virtual bool | hasNdefMessage () |
bool | isProcessingCommand () const |
virtual RequestId | readNdefMessages () |
QVariant | requestResponse (const RequestId &id) |
virtual RequestId | sendCommand (const QByteArray &command) |
virtual RequestId | sendCommands (const QList< QByteArray > &commands) |
void | setResponseForRequest (const QNearFieldTarget::RequestId &id, const QVariant &response, bool emitRequestCompleted=true) |
Type | type () const =0 |
QByteArray | uid () const =0 |
virtual QUrl | url () const |
virtual bool | waitForRequestCompleted (const RequestId &id, int msecs=5000) |
virtual RequestId | writeNdefMessages (const QList< QNdefMessage > &messages) |
Protected Functions Index
virtual Q_INVOKABLE bool | handleResponse (const QNearFieldTarget::RequestId &id, const QByteArray &response) |
Signals Index
void | disconnected () |
void | error (QNearFieldTarget::Error error, const QNearFieldTarget::RequestId &id) |
void | ndefMessageRead (const QNdefMessage &message) |
void | ndefMessagesWritten () |
void | requestCompleted (const QNearFieldTarget::RequestId &id) |
Public Types
- NdefAccess
- TagTypeSpecificAccess
- LlcpAccess
- NoError
- UnknownError
- UnsupportedError
- TargetOutOfRangeError
- NoResponseError
- ChecksumMismatchError
- InvalidParametersError
- NdefReadError
- NdefWriteError
- AnyTarget
- ProprietaryTag
- NfcTagType1
- NfcTagType2
- NfcTagType3
- NfcTagType4
- MifareTag
- NfcForumDevice
Public Functions
Protected Functions
virtual Q_INVOKABLE bool
Signals
void
void
void
void
void
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy