Method

PurplePersonget_priority_contact_info

unstable since: 3.0

Declaration [src]

PurpleContactInfo*
purple_person_get_priority_contact_info (
  PurplePerson* person
)

Description [src]

Gets the contact info for the most available contact info in person.

Available since: 3.0

Return value

Type: PurpleContactInfo

The priority contact or NULL if person does not have any contacts.

The returned data is owned by the instance.
The return value can be NULL.