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.

  compositeName

Contact’s composite name (full name + prefix, suffix).

@property (nullable, nonatomic, retain) NSString *compositeName

Declared In

TTContact.h

  encryptedEmails

Contact’s encrypted emails.

@property (nullable, nonatomic, retain) NSData *encryptedEmails

Declared In

TTContact.h

  emailsString

Contact’s emails.

@property (nullable, nonatomic, retain) NSString *emailsString

Declared In

TTContact.h

  firstName

Contact’s first name.

@property (nullable, nonatomic, retain) NSString *firstName

Declared In

TTContact.h

  hashId

Unique hash id. For internal use.

@property (nullable, nonatomic, retain) NSString *hashId

Declared In

TTContact.h

  index

Index of contact in the device’s address book.

@property (nullable, nonatomic, retain) NSNumber *index

Declared In

TTContact.h

  initials

Contact’s initials.

@property (nullable, nonatomic, retain) NSString *initials

Declared In

TTContact.h

  lastName

Contact’s last name.

@property (nullable, nonatomic, retain) NSString *lastName

Declared In

TTContact.h

  middleName

Contact’s middle name.

@property (nullable, nonatomic, retain) NSString *middleName

Declared In

TTContact.h

  name

Contact’s full name.

@property (nullable, nonatomic, retain) NSString *name

Declared In

TTContact.h

  organization

Organizations’s name.

@property (nullable, nonatomic, retain) NSString *organization

Declared In

TTContact.h

  encryptedPhoneNumbers

Contact’s encrypted phone numbers.

@property (nullable, nonatomic, retain) NSData *encryptedPhoneNumbers

Declared In

TTContact.h

  phoneNumbersString

Contact’s phone numbers string.

@property (nullable, nonatomic, retain) NSString *phoneNumbersString

Declared In

TTContact.h

  token

Contacts unique token.

@property (nullable, nonatomic, retain) NSString *token

Declared In

TTContact.h

  avatarUrl

Local path to Contact’s avatar.

@property (nullable, nonatomic, retain) NSString *avatarUrl

Declared In

TTContact.h

– getEmailAddresses

Retrieve Contact’s emails.

- (NSArray *_Nullable)getEmailAddresses

Return 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)getPhoneNumbers

Return Value

An NSArray of NSDicitionaries with the phone numberss and their type (such as ‘Home’,‘Work’ etc).

Declared In

TTContact.h