ContactField
The ContactField object provides a generic field in a Contact object. Properties that are stored as ContactField objects include email addresses and phone numbers.
Code Example:
|
Supported Platform(s)
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
Constants
static
String
HOME
= "home"
The type of ContactField is "home". This constant can be used for email addresses, phone numbers, fax numbers, and pager numbers.
Supported Platforms | |
---|---|
- BlackBerry 10 |
static
String
WORK
= "work"
The type of ContactField is "work". This constant can be used for email addresses, phone numbers, fax numbers, and pager numbers.
Supported Platforms | |
---|---|
- BlackBerry 10 |
static
String
OTHER
= "other"
The type of ContactField is "other". This constant can be used for email addresses, phone numbers, fax numbers, and pager numbers.
Supported Platforms | |
---|---|
- BlackBerry 10 |