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.

See also:

Message


Overview

Public Functions Index

StatusReport ()
StatusReport (const StatusReport &other)
~StatusReport ()
QStringaddress () const
QDateTimedate () const
voidsetAddress (const QString &address)
voidsetDate (const QDateTime &date)
voidsetStatus (int status)
voidsetType (StatusReportType::Type type)
intstatus () const
StatusReportType::Typetype () const

Public Functions

StatusReport ()

Constructs a new StatusReport.

Since:

BlackBerry 10.0.0

StatusReport (

Copy constructor.

This function constructs a StatusReport containing exactly the same values as the provided StatusReport.

Parameters
other

The StatusReport to be copied.

Since:

BlackBerry 10.0.0

~StatusReport ()

Destructor.

Since:

BlackBerry 10.0.0

QString address ()

Retrieves the email address of the recipient that this StatusReport is associated with.

Return:

The email address of the recipient.

Since:

BlackBerry 10.0.0

QDateTime date ()

Retrieves the date of this StatusReport.

Return:

The status report date.

Since:

BlackBerry 10.0.0

void setAddress (

Sets the email address of the recipient that this StatusReport is associated with.

Parameters
address

The email address to set.

Since:

BlackBerry 10.0.0

void setDate (

Sets the date of this StatusReport.

Parameters
date

The date to set.

Since:

BlackBerry 10.0.0

void setStatus (
  • intstatus)

Sets the status value of this StatusReport.

Parameters
status

The status value to set.

Since:

BlackBerry 10.0.0

void setType (

Sets the type of this StatusReport.

Parameters
type

The status report type to set.

Since:

BlackBerry 10.0.0

int status ()

Retrieves the status value of this StatusReport.

Return:

The status value.

Since:

BlackBerry 10.0.0

StatusReportType::Type 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.

Return:

The status report type.

Since:

BlackBerry 10.0.0

Last modified: 2014-06-24



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

comments powered by Disqus