NotebookServiceResult

Since: BlackBerry 10.0.0

#include <bb/pim/notebook/NotebookServiceResult>

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

The NotebookServiceResult class provides status codes that are returned from add, update, and delete functions in NotebookService.

After invoking an add, update, or delete function in the NotebookService class, you should first compare its status code to NotebookServiceResult::Success to determine whether it succeeded (in which case the appropriate signal will be emitted). If the function did not succeed, you can determine the granularity of the error-handling that you want to perform by comparing against the possible error statuses documented in the function being invoked.

See also:

NotebookService


Overview

Public Types

Type

An enumeration of possible status codes from add, update, and delete NotebookService functions.

Since:

BlackBerry 10.0.0

Success = 0

Indicates that the function completed successfully.

InternalError = 1

Indicates that the function failed due to an unknown reason.

Since:

BlackBerry 10.0.0

InaccessibleAccount = 2

Indicates that the function failed because a non-existent or inaccessible account was specified.

Since:

BlackBerry 10.0.0

NonExistentNotebook = 3

Indicates that the function failed because a non-existent Notebook was specified.

Since:

BlackBerry 10.0.0

NonExistentNotebookEntry = 4

Indicates that the function failed because a non-existent NotebookEntry was specified.

Since:

BlackBerry 10.0.0

ParentNotebookNotAllowed = 5

Indicates that the function failed because a NotebookEntry was moved to a disallowed parent Notebook.

Since:

BlackBerry 10.0.0

OperationNotAllowed = 6

Indicates that the function failed because the requested notebook or notebook entry operation is not allowed.

Since:

BlackBerry 10.0.0

DomainLockedError = 7

Indicates that the function failed because the domain is hard locked and the enterprise file system is currently not readable.

Since:

BlackBerry 10.3.0

NotebookNotSupported = 8

Indicates that the function failed because a Notebook was added to an account that does not support that kind of Notebook.

Since:

BlackBerry 10.3.0

Last modified: 2014-06-24



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

comments powered by Disqus