XQNfcSeBrandingProvider Class Reference

#include <mw/xqnfcsebrandingprovider.h>

Link against: xqnfcsetransactionservice.lib

class XQNfcSeBrandingProvider : public QObject, public QObject

Inherits from

  • XQNfcSeBrandingProvider
    Protected Attributes
    XQNfcSeBrandingProviderPrivate *m_ProviderPrivate
    Public Member Functions
    XQNfcSeBrandingProvider(const QByteArray &, QObject *)
    virtual ~XQNfcSeBrandingProvider()
    Public Signals
    voidapplicationIdReceived(const QByteArray &, const QByteArray &)
    Inherited Attributes
    QObject::d_ptr
    QObject::objectName
    QObject::staticQtMetaObject
    Inherited Functions
    QObject::QObject(QObjectPrivate &,QObject *)
    QObject::blockSignals(bool)
    QObject::childEvent(QChildEvent *)
    QObject::children()const
    QObject::connect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &,Qt::ConnectionType)
    QObject::connect(const QObject *,const char *,const QObject *,const char *,Qt::ConnectionType)
    QObject::connect(const QObject *,const char *,const char *,Qt::ConnectionType)const
    QObject::connectNotify(const char *)
    QObject::customEvent(QEvent *)
    QObject::deleteLater
    QObject::destroyed
    QObject::disconnect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &)
    QObject::disconnect(const QObject *,const char *)
    QObject::disconnect(const QObject *,const char *,const QObject *,const char *)
    QObject::disconnect(const char *,const QObject *,const char *)
    QObject::disconnectNotify(const char *)
    QObject::dumpObjectInfo()
    QObject::dumpObjectTree()
    QObject::dynamicPropertyNames()const
    QObject::event(QEvent *)
    QObject::eventFilter(QObject *,QEvent *)
    QObject::findChild(const QString &)const
    QObject::findChildren(const QRegExp &)const
    QObject::findChildren(const QString &)const
    QObject::inherits(const char *)const
    QObject::installEventFilter(QObject *)
    QObject::isWidgetType()const
    QObject::killTimer(int)
    QObject::moveToThread(QThread *)
    QObject::objectName()const
    QObject::parent()const
    QObject::property(const char *)const
    QObject::receivers(const char *)const
    QObject::registerUserData()
    QObject::removeEventFilter(QObject *)
    QObject::sender()const
    QObject::senderSignalIndex()const
    QObject::setObjectName(const QString &)
    QObject::setParent(QObject *)
    QObject::setProperty(const char *,const QVariant &)
    QObject::setUserData(uint,QObjectUserData *)
    QObject::signalsBlocked()const
    QObject::startTimer(int)
    QObject::thread()const
    QObject::timerEvent(QTimerEvent *)
    QObject::userData(uint)const
    QObject::~QObject()

    Detailed Description

    This interface provides a notification to the application when branding event occurs. A branding event is an 'EVT_TRANSACTION' defined in the Technical Specification "ETSI TS 102 622", section 11.2.2.4.

    Example usage:
        // Create an instance of XQNfcSeBrandingProvider, aid is the application id associated with the listener
        m_nfcSeBrandingProvider = new XQNfcSeBrandingProvider(aid);
    
        // Create a instance of SE transaction listener, the listener class  MySeBrandingListener is defined by 
        // the API user and it has a slot onApplicationIdReceived to handle applicationIdReceived signal emitted 
        // by m_nfcSeBrandingProvider 
        m_brandingListener = new MySeBrandingListener();
        
        QObject::connect(m_nfcSeBrandingProvider, SIGNAL(applicationIdReceived(const QString& , const QByteArray&)), 
                         m_brandingListener, SLOT(handleApplicationIdReceived(const QString& , const QByteArray&)));
     
    
     give the example here

    Member Attribute Documentation

    m_ProviderPrivate

    XQNfcSeBrandingProviderPrivate *m_ProviderPrivate[protected]

    Private wrapper implementation instance.

    Constructor & Destructor Documentation

    XQNfcSeBrandingProvider ( const QByteArray &, QObject * )

    XQNfcSeBrandingProvider(const QByteArray &aApplicationId,
    QObject *parent = 0
    )

    constructor.

    aApplicationId the application id, only the listener associated with this application id will be notified when the event occurs.

    ~XQNfcSeBrandingProvider ( )

    ~XQNfcSeBrandingProvider()[virtual]

    Destructor.

    Member Function Documentation

    applicationIdReceived ( const QByteArray &, const QByteArray & )

    voidapplicationIdReceived(const QByteArray &aApplicationId,
    const QByteArray &aParam
    )[signal]

    This signal is emitted when a branding event received.

    aApplicationId the application id, which is the 'AID' field of 'EVT_TRANSACTION'. aParam is optional data field of 'PARAMETERS' of 'EVT_TRANSACTION'. How to decode the parameter depends on the application.