addContact
Add a single contact with a name, contact details and a photo. Each TypedPhoneNumber is a pair value (phone number, phone type) with a none blank phone number.
See also
for the list of phone type.
Parameters
Prefix of the contact name, the default value is an empty string.
Set to true for favorite contact, by default the contact is not a favorite.
Contact's first name, should not be blank and can contain whitespaces.
Contact's last name, should not be blank and can contain whitespaces.
Suffix of the contact name, the default value is an empty string.
List of the contact phone numbers. Should not be empty.
The contact photo. If null no photo is assigned to the contact.
If null, no company name is added to the contact.
List of addresses for this contact, if null, no address is added.