QNdefNfcSmartPosterRecord Class

The QNdefNfcSmartPosterRecord class provides an NFC RTD-SmartPoster. More...

Header: #include <QNdefNfcSmartPosterRecord>
qmake: QT += nfc
Since: Qt 5.2
Inherits: QNdefRecord

This class was introduced in Qt 5.2.

Public Types

enum Action { UnspecifiedAction, DoAction, SaveAction, EditAction }

Detailed Description

RTD-SmartPoster encapsulates a Smart Poster.

Member Type Documentation

enum QNdefNfcSmartPosterRecord::Action

This enum describes the course of action that a device should take with the content.

ConstantValueDescription
QNdefNfcSmartPosterRecord::UnspecifiedAction-1The action is not defined.
QNdefNfcSmartPosterRecord::DoAction0Do the action (send the SMS, launch the browser, make the telephone call).
QNdefNfcSmartPosterRecord::SaveAction1Save for later (store the SMS in INBOX, put the URI in a bookmark, save the telephone number in contacts).
QNdefNfcSmartPosterRecord::EditAction2Open for editing (open an SMS in the SMS editor, open the URI in a URI editor, open the telephone number for editing).