ContactError
The ContactError object contains error codes and is returned in the contactError callback.
Supported Platform(s)
- BlackBerry 10 |
API | BB5.0 | BB6.0 | BB7.0 | PB1.0 | PB2.0 | BB10 | Ripple |
---|---|---|---|---|---|---|---|
code | Y | ||||||
UNKNOWN_ERROR | Y | ||||||
INVALID_ARGUMENT_ERROR | Y | ||||||
TIMEOUT_ERROR | Y | ||||||
PENDING_OPERATION_ERROR | Y | ||||||
IO_ERROR | Y | ||||||
NOT_SUPPORTED_ERROR | Y | ||||||
PERMISSION_DENIED_ERROR | Y |
Configuration Document Settings
To use all of the API described for this object, you must ensure the following settings are in your configuration document: |
You must declare the feature element(s) below in your configuration document: |
Feature ID | BB5.0 | BB6.0 | BB7.0 | PB1.0 | PB2.0 | BB10 | Ripple |
---|---|---|---|---|---|---|---|
<feature id="blackberry.pim.contacts" /> | Y |
Permission Elements (PlayBook and BlackBerry 10+) |
---|
This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application. |
Properties
Number | code |
Constants
Number | UNKNOWN_ERROR |
Number | INVALID_ARGUMENT_ERROR |
Number | TIMEOUT_ERROR |
Number | PENDING_OPERATION_ERROR |
Number | IO_ERROR |
Number | NOT_SUPPORTED_ERROR |
Number | PERMISSION_DENIED_ERROR |
Properties
readonly
Number
code
A code specifying the type of error that occurred.
Supported Platforms | |
---|---|
- BlackBerry 10 |
Code Example:
|
Constants
static
Number
INVALID_ARGUMENT_ERROR
= 1
A parameter was incorrect.
Supported Platforms | |
---|---|
- BlackBerry 10 |
static
Number
PENDING_OPERATION_ERROR
= 3
The operation failed because a previous operation is pending.
Supported Platforms | |
---|---|
- BlackBerry 10 |
Documentation generated by JsDoc Toolkit 2.4.0 on Sun Dec 30 2012 18:15:35 GMT-0500 (EST)