Skip to main content

Contact

Namespace: Wisej.Hybrid.Shared.Communication

Assembly: Wisej.Hybrid

Represents a contact on the user's device.

public class Contact

Constructors

Instance memberContact()

Initializes a new instance of the Contact class.

Instance memberContact(id, namePrefix, givenName, middleName, familyName, nameSuffix, phones, email, displayName)

Initializes a new instance of the Contact class with the given data.

NameTypeDescription
idStringThe identifier of the contact.
namePrefixStringThe prefix of the contact.
givenNameStringThe given name (or first name) of the contact.
middleNameStringThe middle name(s) of the contact.
familyNameStringThe family name (or last name) of the contact.
nameSuffixStringThe suffix of the contact.
phonesIEnumerable<ContactPhone>A collection of phone numbers for the contact.
emailIEnumerable<ContactEmail>A collection of email addresses for the contact.
displayNameStringThe display name of the contact.

Properties

Instance memberDisplayName

String: Gets or sets the display name of the contact.

If no display name is set, a display name is inferred from GivenName and FamilyName.

Instance memberEmails

List<ContactEmail>: Gets or sets a collection of email addresses of the contact.

Instance memberFamilyName

String: Gets or sets the family name (or last name) of the contact.

Instance memberGivenName

String: Gets or sets the given name (or first name) of the contact.

Instance memberId

String: Gets or sets the identifier of the contact.

Instance memberMiddleName

String: Gets or sets the middle name(s) of the contact.

Instance memberNamePrefix

String: Gets or sets the name prefix of the contact.

Instance memberNameSuffix

String: Gets or sets the name suffix of the contact.

Instance memberPhones

List<ContactPhone>: Gets or sets a collection of phone numbers of the contact.