CardDoneMessage
#include <bb/system/CardDoneMessage>
To link against this class, add the following line to your .pro file: LIBS += -lbbsystem
Encapsulates information sent from a card to the entity that invoked it when the card has completed its activity or has been closed.
BlackBerry 10.0.0
Public Functions Index
| CardDoneMessage () | |
| CardDoneMessage (const CardDoneMessage &other) | |
| ~CardDoneMessage () | |
| CardDoneMessage & | operator= (const CardDoneMessage &other) |
| QString | reason () const |
| QString | dataType () const |
| QString | data () const |
| void | setReason (const QString &reason) |
| void | setDataType (const QString &dataType) |
| void | setData (const QString &data) |
Public Functions
Creates a copy of an existing CardDoneMessage object.
| Parameters | |
|---|---|
| other |
The source CardDoneMessage object to copy. |
BlackBerry 10.0.0
Destructor.
BlackBerry 10.0.0
CardDoneMessage &
Copies the data of an existing CardDoneMessage object to this object.
| Parameters | |
|---|---|
| other |
The source CardDoneMessage object to copy. |
The CardDoneMessage instance.
BlackBerry 10.0.0
QString
Returns the reason that the card was closed.
The reason the card was closed.
BlackBerry 10.0.0
QString
Returns the type of data the message holds.
The type of the data included in the message.
BlackBerry 10.0.0
QString
Returns the payload of this message.
The type of the data can be determined using dataType().
The payload of this message or an empty string if the receiver does not require any data.
BlackBerry 10.0.0
void
Sets the reason the card was closed.
| Parameters | |
|---|---|
| reason |
The reason the card was closed. |
BlackBerry 10.0.0
void
Sets the type of the data included in the message.
| Parameters | |
|---|---|
| dataType |
The type of the data in the message. |
BlackBerry 10.0.0
void
Sets the payload of this message.
| Parameters | |
|---|---|
| data |
The payload of this message. The type of the data can be set using setDataType(). |
BlackBerry 10.0.0