StatusReport
Since: BlackBerry 10.0.0
#include <bb/pim/message/StatusReport>
To link against this class, add the following line to your .pro file: LIBS += -lbbpim
The StatusReport class represents status information for a Message.
A StatusReport is associated with a particular recipient of a Message. You can retrieve the status reports for each recipient of a Message by calling Message::statusReports(), and you can use this information to check the delivery status for each recipient of the message.
Overview
Public Functions Index
StatusReport () | |
StatusReport (const StatusReport &other) | |
~StatusReport () | |
QString | address () const |
QDateTime | date () const |
void | setAddress (const QString &address) |
void | setDate (const QDateTime &date) |
void | setStatus (int status) |
void | setType (StatusReportType::Type type) |
int | status () const |
StatusReportType::Type | type () const |
Public Functions
Copy constructor.
This function constructs a StatusReport containing exactly the same values as the provided StatusReport.
Parameters | |
---|---|
other |
The StatusReport to be copied. |
BlackBerry 10.0.0
Destructor.
BlackBerry 10.0.0
QString
Retrieves the email address of the recipient that this StatusReport is associated with.
The email address of the recipient.
BlackBerry 10.0.0
QDateTime
Retrieves the date of this StatusReport.
The status report date.
BlackBerry 10.0.0
void
Sets the email address of the recipient that this StatusReport is associated with.
Parameters | |
---|---|
address |
The email address to set. |
BlackBerry 10.0.0
void
Sets the status value of this StatusReport.
Parameters | |
---|---|
status |
The status value to set. |
BlackBerry 10.0.0
void
Sets the type of this StatusReport.
Parameters | |
---|---|
type |
The status report type to set. |
BlackBerry 10.0.0
int
Retrieves the status value of this StatusReport.
The status value.
BlackBerry 10.0.0
StatusReportType::Type
Retrieves the type of this StatusReport.
This function returns the type as an enumeration value in the StatusReportType::Type enumeration, and can include types such as read report and delivery report.
The status report type.
BlackBerry 10.0.0