Since: BlackBerry 10.0.0
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.
Public Types Index
An enumeration of possible status codes from add, update, and delete NotebookService functions.
- Success = 0
Indicates that the function completed successfully.Since:
- InternalError = 1
Indicates that the function failed due to an unknown reason.Since:
- InaccessibleAccount = 2
Indicates that the function failed because a non-existent or inaccessible account was specified.Since:
- NonExistentNotebook = 3
Indicates that the function failed because a non-existent Notebook was specified.Since:
- NonExistentNotebookEntry = 4
Indicates that the function failed because a non-existent NotebookEntry was specified.Since:
- ParentNotebookNotAllowed = 5
Indicates that the function failed because a NotebookEntry was moved to a disallowed parent Notebook.Since:
- OperationNotAllowed = 6
Indicates that the function failed because the requested notebook or notebook entry operation is not allowed.Since: