Contact
Namespace: Wisej.Hybrid.Shared.Communication
Assembly: Wisej.Hybrid
Represents a contact on the user's device.
- C#
- VB.NET
public class Contact
Public Class Contact
Constructors
Contact()
Initializes a new instance of the Contact class.
Contact(id, namePrefix, givenName, middleName, familyName, nameSuffix, phones, email, displayName)
Initializes a new instance of the Contact class with the given data.
| Name | Type | Description |
|---|---|---|
| id | String | The identifier of the contact. |
| namePrefix | String | The prefix of the contact. |
| givenName | String | The given name (or first name) of the contact. |
| middleName | String | The middle name(s) of the contact. |
| familyName | String | The family name (or last name) of the contact. |
| nameSuffix | String | The suffix of the contact. |
| phones | IEnumerable<ContactPhone> | A collection of phone numbers for the contact. |
| IEnumerable<ContactEmail> | A collection of email addresses for the contact. | |
| displayName | String | The display name of the contact. |
Properties
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.
Emails
List<ContactEmail>: Gets or sets a collection of email addresses of the contact.
FamilyName
String: Gets or sets the family name (or last name) of the contact.
GivenName
String: Gets or sets the given name (or first name) of the contact.
Id
String: Gets or sets the identifier of the contact.
MiddleName
String: Gets or sets the middle name(s) of the contact.
NamePrefix
String: Gets or sets the name prefix of the contact.
NameSuffix
String: Gets or sets the name suffix of the contact.
Phones
List<ContactPhone>: Gets or sets a collection of phone numbers of the contact.