SearchFilterCriteria

Since: BlackBerry 10.0.0

#include <bb/pim/message/SearchFilterCriteria>

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

The SearchFilterCriteria class includes possible search criteria that you can use to search for messages.

You can use this class in conjunction with the MessageSearchFilter class to specify criteria for searches. You can add a SearchFilterCriteria (along with an associated value to search for) to a MessageSearchFilter by calling MessageSearchFilter::addSearchCriteria(). Then, you can search for the messages that fit this criteria (that is, the messages that have the specified value in the specified field) by calling MessageService::searchLocal() or MessageService::searchRemote().


Overview

Public Types Index

enum Type

Any =0, FromAddress = 1, Recipient = 2, Subject = 3, Body = 4

Public Types

Type

An enumeration of supported fields that you can use to search for messages.

Since:

BlackBerry 10.0.0

Any =0

Indicates that any message fields can be used to search for messages.

FromAddress = 1

Indicates that the search should apply to the From field of a message.

Since:

BlackBerry 10.0.0

Recipient = 2

Indicates that the search should apply to the Recipient field of a message.

Since:

BlackBerry 10.0.0

Subject = 3

Indicates that the search should apply to the Subject field of a message.

Since:

BlackBerry 10.0.0

Body = 4

Indicates that the search should apply to the Body field of a message.

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