Represents a field in an CSEditableContact which stores a phone number, inheriting the metadata description of the field from the original contact field.
More...
#import <CSEditableContactPhoneField.h>
Inherits CSContactPhoneField.
Represents a field in an CSEditableContact which stores a phone number, inheriting the metadata description of the field from the original contact field.
The editable version of a contact field is obtained from the CSEditableContact class.
- (void) setCategory: |
|
(NSString *) |
category |
|
Sets or updates the phone number category.
- Parameters
-
category | A NSString containing the new phone number category. |
- (void) setDefaultPhoneNumber: |
|
(BOOL) |
defaultPhoneNumber |
|
Changes the default status of this phone number.
This field is not affected by writeCapability capability.
- Parameters
-
defaultPhoneNumber | Set to true to make this phone number the default. |
- (void) setLabel1: |
|
(NSString *) |
label1 |
|
Sets or updates the phone number Label1.
- Parameters
-
label1 | A NSString containing the new phone number Label1. |
- (void) setLabel2: |
|
(NSString *) |
label2 |
|
Sets or updates the phone number Label2.
- Parameters
-
label2 | A NSString containing the new phone number Label2. |
- (void) setPhoneNumber: |
|
(NSString *) |
phoneNumber |
|
Sets or updates the phone number string.
- Parameters
-
phoneNumber | A NSString containing the new phone number. |
Sets or updates the phone number type (e.g.
WORK, HOME, etc).
- Parameters
-
phoneNumberType | The new phone number type. |
- (void) setSpeedDialEnabled: |
|
(BOOL) |
speedDialEnabled |
|
Sets or updates the speed dial flag.
- Parameters
-
speedDialEnabled | flag value to be set. |
The documentation for this class was generated from the following file: