Core contact model representing a person or organization in the ContactsManager SDK
Contact
model is the core data structure in the ContactsManager SDK that represents a person or organization. It contains basic information about the contact and references to related contact information components.
identifier: String
- Unique identifier for the contactid: String
- Alias for identifier, conforming to Identifiable protocolcontactType: Int
- Type of contact (0 = person, 1 = organization)namePrefix: String?
- Title or honorific (e.g., Dr., Mr.)givenName: String?
- First namemiddleName: String?
- Middle namefamilyName: String?
- Last namepreviousFamilyName: String?
- Previous last name (e.g., maiden name)nameSuffix: String?
- Name suffix (e.g., “Jr.”, “III”)nickname: String?
- Informal namecontactSection: String?
- Section for alphabetical groupingdisplayName: String?
- Formatted full name for displayorganizationName: String?
- Company or organization namedepartmentName: String?
- Department within organizationjobTitle: String?
- Professional titlenotes: String?
- General notes about the contactbio: String?
- Biographical informationlocation: String?
- Geographic locationimageUrl: String?
- URL to contact’s avatar imageimageData: Data?
- Full-size image datathumbnailImageData: Data?
- Optimized thumbnail image dataimageDataAvailable: Bool
- Indicates if image data is availableContactPhoneNumber
objectsContactEmailAddress
objectsContactURLAddress
objectsContactSocial
objectsContactAddress
objectsContactInstantMessage
objectsContactRelation
objectsinterests: [String]
- List of interests/hobbiesavatars: [String]
- List of avatar URLsbirthday: Date?
- Contact’s birthdayContactDate
objectscreatedAt: Double
- Creation timestampmatchString: String?
- Searchable string containing all contact informationisDeleted: Bool
- Soft deletion flagparentContactId: String?
- ID of parent contact if this is a linked contactlastSyncedAt: Double?
- Timestamp of last successful sync with serverdirtyTime: Double?
- Last modification timestampsourceId: String?
- External source identifier