Skip to main content

Contact

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid (4.1.0.0)

Represents a contact on the user's device.

public class Contact

Constructors​

Instance member Contact()​

Initializes a new instance of the Contact class.

Instance member Contact(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 member DisplayName​

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 member Emails​

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

Instance member FamilyName​

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

Instance member GivenName​

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

Instance member Id​

String: Gets or sets the identifier of the contact.

Instance member MiddleName​

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

Instance member NamePrefix​

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

Instance member NameSuffix​

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

Instance member Phones​

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