MessageStatus
Since: BlackBerry 10.0.0
#include <bb/pim/message/MessageStatus>
To link against this class, add the following line to your .pro file: LIBS += -lbbpim
The MessageStatus class represents the status of a message.
A Message can have several different statuses, and you can use this class to determine what statuses apply to a particular message. For example, you can determine if a message is marked as read, is filed, or is sent. Here's an example:
MessageService messageService; Message msg = messageService.message(accountId , messageId ) ; msg.status().testFlag(bb::pim::message::MessageStatus::Read)
Note that the message status can be a bit flag that represents multiple statuses.
Overview
Public Types Index
Public Types
An enumeration of supported message statuses.
BlackBerry 10.0.0
- Read 1 << 0
Indicates that the message is read.
- Draft 1 << 1
Indicates that the message is a draft message.
Since:BlackBerry 10.0.0
- Filed 1 << 2
Indicates that the message is filed.
Since:BlackBerry 10.0.0
- Sent 1 << 4
Indicates that the message is sent.
Since:BlackBerry 10.0.0
- Deferred 1 << 5
Indicates that the message is deferred.
Since:BlackBerry 10.0.0
- Broadcast 1 << 6
Indicates that the message has been broadcasted.
Since:BlackBerry 10.0.0
- PendingRetrieval 1 << 7
Indicates that the message is waiting to be retrieved.
Since:BlackBerry 10.0.0