QNearFieldManager

#include <QtConnectivity/QNearFieldManager>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QNearFieldManager


Overview

Public Types Index

Public Functions Index

QNearFieldManager (QObject *parent=0)
QNearFieldManager (QNearFieldManagerPrivate *backend, QObject *parent=0)
~QNearFieldManager ()
boolisAvailable () const
intregisterNdefMessageHandler (QObject *object, const char *method)
intregisterNdefMessageHandler (QObject *object, const char *method)
intregisterNdefMessageHandler (QNdefRecord::TypeNameFormat typeNameFormat, const QByteArray &type, QObject *object, const char *method)
intregisterNdefMessageHandler (const QNdefFilter &filter, QObject *object, const char *method)
voidsetTargetAccessModes (TargetAccessModes accessModes)
boolstartTargetDetection (const QList< QNearFieldTarget::Type > &targetTypes)
boolstartTargetDetection (QNearFieldTarget::Type targetType=QNearFieldTarget::AnyTarget)
voidstopTargetDetection ()
TargetAccessModestargetAccessModes () const
boolunregisterNdefMessageHandler (int handlerId)

Signals Index

voidtargetDetected (QNearFieldTarget *target)
voidtargetLost (QNearFieldTarget *target)
voidtransactionDetected (const QByteArray &applicationIdentifier)

Public Types

TargetAccessMode

NoTargetAccess 0x00
NdefReadTargetAccess 0x01
NdefWriteTargetAccess 0x02
TagTypeSpecificTargetAccess 0x04

Public Functions

QNearFieldManager (

QNearFieldManager (
  • QNearFieldManagerPrivate *backend,
  • QObject *parent )

~QNearFieldManager ()

Destructor.

bool isAvailable ()

int registerNdefMessageHandler (
  • typename T,
  • QObject *object,
  • const char *method )

int registerNdefMessageHandler (
  • QObject *object,
  • const char *method )

int registerNdefMessageHandler (
  • QNdefRecord::TypeNameFormattypeNameFormat,
  • const QByteArray &type,
  • QObject *object,
  • const char *method )

int registerNdefMessageHandler (

void setTargetAccessModes (
  • TargetAccessModesaccessModes)

bool startTargetDetection (
  • const QList< QNearFieldTarget::Type > &targetTypes)

bool startTargetDetection (
  • QNearFieldTarget::TypetargetType)

void stopTargetDetection ()

TargetAccessModes targetAccessModes ()

bool unregisterNdefMessageHandler (
  • inthandlerId)

Signals

void targetDetected (

void targetLost (

void transactionDetected (

Last modified: 2015-07-24



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

comments powered by Disqus