SearchStatusCriteria

Since: BlackBerry 10.0.0

#include <bb/pim/message/SearchStatusCriteria>

To link against this class, add the following line to your .pro file: LIBS += -lbbpim

The SearchStatusCriteria class includes possible statuses that you can use to search for messages.

You can use this class in conjunction with the MessageSearchFilter class to specify status criteria for searches. You can add a SearchStatusCriteria to a MessageSearchFilter by calling MessageSearchFilter::addStatusCriteria(). Then, you can search for messages that include the specified status by calling by calling MessageService::searchLocal() or MessageService::searchRemote().


Overview

Public Types Index

enum Type

Unread =0, Flagged = 1, Attachments = 2, Today = 3, Yesterday = 4, Received = 5, LastWeek = 6

Public Types

Type

An enumeration of supported statuses for messages.

Since:

BlackBerry 10.0.0

Unread =0

Indicates that the search should apply to unread messages.

Since:

BlackBerry 10.0.0

Flagged = 1

Indicates that the search should apply to flagged messages.

Since:

BlackBerry 10.0.0

Attachments = 2

Indicates that the search should apply to messages with attachments.

Since:

BlackBerry 10.0.0

Today = 3

Indicates that the search should apply to messages that were received today.

Since:

BlackBerry 10.0.0

Yesterday = 4

Indicates that the search should apply to messages that were received yesterday.

Since:

BlackBerry 10.0.0

Received = 5

Indicates that the search should apply to inbound (received) messages.

Since:

BlackBerry 10.0.0

LastWeek = 6

Indicates that the search should apply to messages that were received last week.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus