Since: BlackBerry 10.0.0

#include <bb/pim/notebook/NotebookConstraint>

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

The NotebookConstraint class represents a constraint on the contents of a Notebook.

Notebook constraints define constraints on the contents of a Notebook. These constraints are silently enforced by the NotebookService, meaning that add and update operations that violate the constraints are not rejected. Instead, any such violations are simply disregarded. For example, changing the name of a Notebook that disallows name changes will result in the name change being dropped during the NotebookService update operation. For more information, see the documentation for individual constraints.


Public Types Index

Public Types


An enumeration of possible constraints.


BlackBerry 10.0.0

NameNotEditable 0x01

Indicates that name changes to the Notebook are not supported.

AddNotebookEntryNotSupported 0x02

Indicates that NotebookEntry items cannot be added to this Notebook.


BlackBerry 10.3.0

FlaggedMessagesOnly 0x04

Indicates that only Flagged Messages can be added to this Notebook.


BlackBerry 10.3.0

Last modified: 2014-09-30

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

comments powered by Disqus