get_contact_groups


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "0.13.14" ) ]
public unowned string[] get_contact_groups ()

Return names of groups of which a contact is a member.

It is incorrect to call this method before CONTACT_GROUPS has been prepared. This remains valid until the main loop is re-entered; if the caller requires a GStrv that will persist for longer than that, it must be copied with strdupv.

Parameters:

this

a Contact

Returns:

the same GStrv as the contact_groups property




2022 vala-language.org