CPContact
@objc
public class CPContact : NSObject
Holds the information about the selected contact.
-
The unique identifier of the selected contact
Declaration
Swift
@objc public var contactId: String
-
The firstname of the user
Declaration
Swift
@objc public var firstName: String
-
The lastname of the user
Declaration
Swift
@objc public var lastName: String
-
The email address of the user
Declaration
Swift
@objc public var email: String
-
The homePhoneNumber attribute of the user
Declaration
Swift
@objc public var homePhoneNumber: String
-
The businessPhoneNumber attribute of the user
Declaration
Swift
@objc public var businessPhoneNumber: String
-
The fax number attribute of the user
Declaration
Swift
@objc public var fax: String
-
The mobile phoneNumber attribute of the user
Declaration
Swift
@objc public var mobile: String
-
The pager number attribute of the user
Declaration
Swift
@objc public var pager: String
-
This parameter defines if the user is part of friends group
Declaration
Swift
@objc public var buddy: Bool
-
The photoUrl of the contact
Declaration
Swift
@objc public internal(set) var photoUrl: String { get }
-
The conferenceUrl attribute of the contact
Declaration
Swift
@objc public internal(set) var conferenceUrl: String { get }
-
Unique username parameter for the contact
Declaration
Swift
@objc public var username: String
-
The id of the contact lists which the contact is belong to
Declaration
Swift
@objc public var lists: Array<CPAddressBookList>
-
Initializes Contact object with the specified contact Id.
Declaration
Swift
@objc public init(contactId: String)
Parameters
contactId
Unique identifier for the Contact Object.