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

Public Functions Index

QNearFieldTarget (QObject *parent=0)
virtual ~QNearFieldTarget ()
AccessMethodsaccessMethods () const =0
virtual boolhasNdefMessage ()
boolisProcessingCommand () const
virtual RequestIdreadNdefMessages ()
QVariantrequestResponse (const RequestId &id)
virtual RequestIdsendCommand (const QByteArray &command)
virtual RequestIdsendCommands (const QList< QByteArray > &commands)
voidsetResponseForRequest (const QNearFieldTarget::RequestId &id, const QVariant &response, bool emitRequestCompleted=true)
Typetype () const =0
QByteArrayuid () const =0
virtual QUrlurl () const
virtual boolwaitForRequestCompleted (const RequestId &id, int msecs=5000)
virtual RequestIdwriteNdefMessages (const QList< QNdefMessage > &messages)

Protected Functions Index

virtual Q_INVOKABLE boolhandleResponse (const QNearFieldTarget::RequestId &id, const QByteArray &response)

Signals Index

voiddisconnected ()
voiderror (QNearFieldTarget::Error error, const QNearFieldTarget::RequestId &id)
voidndefMessageRead (const QNdefMessage &message)
voidndefMessagesWritten ()
voidrequestCompleted (const QNearFieldTarget::RequestId &id)

Public Types

AccessMethod

NdefAccess
TagTypeSpecificAccess
LlcpAccess

Error

NoError
UnknownError
UnsupportedError
TargetOutOfRangeError
NoResponseError
ChecksumMismatchError
InvalidParametersError
NdefReadError
NdefWriteError

Type

AnyTarget
ProprietaryTag
NfcTagType1
NfcTagType2
NfcTagType3
NfcTagType4
MifareTag
NfcForumDevice

Public Functions

QNearFieldTarget (

virtual~QNearFieldTarget ()

Destructor.

AccessMethods accessMethods ()

virtual bool hasNdefMessage ()

bool isProcessingCommand ()

virtualRequestId readNdefMessages ()

QVariant requestResponse (

virtualRequestId sendCommand (

virtualRequestId sendCommands (

void setResponseForRequest (

Type type ()

QByteArray uid ()

virtualQUrl url ()

virtual bool waitForRequestCompleted (

virtualRequestId writeNdefMessages (

Protected Functions

virtual Q_INVOKABLE bool handleResponse (

Signals

void disconnected ()

void error (

void ndefMessageRead (

void ndefMessagesWritten ()

void requestCompleted (

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus