API Reference

ISN_CNContactStore


namespace SA.iOS.Contacts 
...
public static class ISN_CNContactStore  {

    /// <summary>
    /// Allows the user to select one or more contacts (or their properties) 
    /// from the list of contacts displayed in the contact view controller
    /// </summary>
    /// <param name="callback">Callback.</param>
	public static void ShowContactsPickerUI(Action<ISN_CNContactsResult> callback);


    /// <summary>
    /// Fetches phone contact's list
    /// </summary>
    /// <param name="callback">Callback.</param>
    public static void FetchPhoneContacts(Action<ISN_CNContactsResult> callback);


    /// <summary>
    /// Returns the current authorization status to access the contact data.
    /// 
    /// Based on the authorization status, your application might display or hide its UI elements 
    /// that access any Contacts API.
    /// </summary>
    /// <returns>The authorization status.</returns>
    /// <param name="entityType">Entity type.</param>
    public static ISN_CNAuthorizationStatus GetAuthorizationStatus(ISN_CNEntityType entityType);

    /// <summary>
    /// Requests access to the user's contacts.
    /// 
    /// Users are able to grant or deny access to contact data on a per-application basis. 
    /// The user will only be prompted the first time access is requested, 
    /// any subsequent <see cref="ISN_CNContactStore"/> calls will use the existing permissions.
    /// If this method is not used, <see cref="ISN_CNContactStore"/> may block your application 
    /// while the user is asked for access permission.
    /// </summary>
    /// <param name="entityType">Entity type.</param>
    /// <param name="callback">Callback.</param>
    public static void RequestAccess(ISN_CNEntityType entityType, Action<SA_Result> callback);

}

ISN_CNContact


namespace SA.IOSNative.Contacts 
...
/// <summary>
/// Class that represents an immutable value object for contact properties, 
/// such as the first name and phone numbers of a contact.
/// </summary>
[Serializable]
public class ISN_CNContact  {

    /// <summary>
    /// The given name of the contact.
    /// The given name is often known as the first name of the contact.
    /// </summary>
    public string GivenName;

    /// <summary>
    /// The family name of the contact.
    /// The family name is often known as the last name of the contact.
    /// </summary>
    public string FamilyName;


    public string Nickname;

    /// <summary>
    /// The name of the organization associated with the contact.
    /// </summary>
    public string OrganizationName;


    /// <summary>
    /// The name of the department associated with the contact.
    /// </summary>
    public string DepartmentName;

    /// <summary>
    /// The contact’s job title.
    /// </summary>
    public string JobTitle;

    /// <summary>
    /// An array of labeled email addresses for the contact.
    /// </summary>
    public List<string> Emails;

    /// <summary>
    /// An array of labeled phone numbers for a contact.
    /// </summary>
    public List<ISN_CNPhoneNumber> Phones;
}

ISN_CNPhoneNumber

[Serializable]
public class ISN_CNPhoneNumber  {

    [
    /// <summary>
    /// Gets the phone number country code.
    /// </summary>
    public string CountryCode ;

    /// <summary>
    /// Gets the phone number without country code.
    /// </summary>
    public string Digits;
}