![]() |
![]() |
![]() |
[Insert name here] Reference Manual | ![]() |
---|---|---|---|---|
#define TPA_USER_CONTACT_GET_PRIVATE (obj) TpaUserContactPrivate; TpaUserContact; gboolean tpa_user_contact_set_avatar (TpaUserContact *self, TpaAvatar *avatar); gboolean tpa_user_contact_set_presence (TpaUserContact *self, TpaContactPresence presence); gboolean tpa_user_contact_set_presence_message (TpaUserContact *self, const gchar *message); gboolean tpa_user_contact_set_presence_with_message (TpaUserContact *self, TpaContactPresence presence, const gchar *message); gboolean tpa_user_contact_set_alias (TpaUserContact *self, const gchar *alias); gboolean tpa_user_contact_set_capabilities (TpaUserContact *self, TpaCapability capability);
GObject +----TpaObject +----TpaChannelTarget +----TpaContactBase +----TpaUserContact
gboolean tpa_user_contact_set_avatar (TpaUserContact *self, TpaAvatar *avatar);
self : |
TpaUserContact instance. |
avatar : |
TpaAvatar instance. |
Returns : | TRUE if avatar could be set. |
gboolean tpa_user_contact_set_presence (TpaUserContact *self, TpaContactPresence presence);
self : |
TpaUserContact instance. |
presence : |
TpaContactPresence status. |
Returns : | TRUE if the message could be sent. |
gboolean tpa_user_contact_set_presence_message (TpaUserContact *self, const gchar *message);
self : |
TpaUserContact instance. |
message : |
String message. |
Returns : | TRUE if the message could be sent. |
gboolean tpa_user_contact_set_presence_with_message (TpaUserContact *self, TpaContactPresence presence, const gchar *message);
self : |
TpaUserContact instance. |
presence : |
TpaContactPresence status. |
message : |
String message. |
Returns : | TRUE if the message could be sent. |
gboolean tpa_user_contact_set_alias (TpaUserContact *self, const gchar *alias);
self : |
TpaUserContact instance |
alias : |
String alias. |
Returns : | TRUE if alias could be set. |
gboolean tpa_user_contact_set_capabilities (TpaUserContact *self, TpaCapability capability);
self : |
TpaUserContact instance. |
capability : |
TpaCapability capability. |
Returns : | TRUE if capability could be set. |