Page Summary
-
The EmailField is deprecated and users should use the People API advanced service instead.
-
EmailField represents an email field within a Contact.
-
EmailField provides methods to get and set the email address and its label, and to check or set if it is the primary email field.
-
Some methods for EmailField, such as
deleteEmailField(),getDisplayName(), andsetDisplayName(), are also deprecated.
Deprecated. Instead, use the People API advanced service
An email field in a Contact.
Methods
| Method | Return type | Brief description |
|---|---|---|
get | String | Get the address for this field. |
get | Object | Gets the label for this field. |
is | Boolean | Gets whether this is the primary field value. |
set | | Sets the address of this field. |
set | | Sets this field to primary. |
set | | Sets the label of this field. |
set | | Sets the label of this field. |