TTContact Class Reference
| Inherits from | NSManagedObject |
|---|---|
| Declared in | TTContact.h |
Overview
TTContact represents a contact from the device’s address book. New TTContacts will be added upon AddressBook updates.
encryptedEmails
Contact’s encrypted emails.
@property (nullable, nonatomic, retain) NSData *encryptedEmailsDeclared In
TTContact.h
emailsString
Contact’s emails.
@property (nullable, nonatomic, retain) NSString *emailsStringDeclared In
TTContact.h
firstName
Contact’s first name.
@property (nullable, nonatomic, retain) NSString *firstNameDeclared In
TTContact.h
hashId
Unique hash id. For internal use.
@property (nullable, nonatomic, retain) NSString *hashIdDeclared In
TTContact.h
index
Index of contact in the device’s address book.
@property (nullable, nonatomic, retain) NSNumber *indexDeclared In
TTContact.h
initials
Contact’s initials.
@property (nullable, nonatomic, retain) NSString *initialsDeclared In
TTContact.h
lastName
Contact’s last name.
@property (nullable, nonatomic, retain) NSString *lastNameDeclared In
TTContact.h
middleName
Contact’s middle name.
@property (nullable, nonatomic, retain) NSString *middleNameDeclared In
TTContact.h
name
Contact’s full name.
@property (nullable, nonatomic, retain) NSString *nameDeclared In
TTContact.h
organization
Organizations’s name.
@property (nullable, nonatomic, retain) NSString *organizationDeclared In
TTContact.h
encryptedPhoneNumbers
Contact’s encrypted phone numbers.
@property (nullable, nonatomic, retain) NSData *encryptedPhoneNumbersDeclared In
TTContact.h
phoneNumbersString
Contact’s phone numbers string.
@property (nullable, nonatomic, retain) NSString *phoneNumbersStringDeclared In
TTContact.h
token
Contacts unique token.
@property (nullable, nonatomic, retain) NSString *tokenDeclared In
TTContact.h
avatarUrl
Local path to Contact’s avatar.
@property (nullable, nonatomic, retain) NSString *avatarUrlDeclared In
TTContact.h
– getEmailAddresses
Retrieve Contact’s emails.
- (NSArray *_Nullable)getEmailAddressesReturn Value
An NSArray of NSDicitionaries with the emails and their type (such as ‘Home’,‘Work’ etc).
Declared In
TTContact.h
– getPhoneNumbers
Retrieve Contact’s phone numbers.
- (NSArray *_Nullable)getPhoneNumbersReturn Value
An NSArray of NSDicitionaries with the phone numberss and their type (such as ‘Home’,‘Work’ etc).
Declared In
TTContact.h