![]() |
![]() |
![]() |
[Insert name here] Reference Manual | ![]() |
---|---|---|---|---|
#define TPA_CONTACT_GET_PRIVATE (obj) TpaContactPrivate; TpaContact; TpaSubscriptionStatus tpa_contact_get_subscription_status (TpaContact *self); void tpa_contact_subscribe (TpaContact *self, gboolean value); TpaAuthorizationStatus tpa_contact_get_authorization_status (TpaContact *self); void tpa_contact_authorize (TpaContact *self, gboolean value); void tpa_contact_hide (TpaContact *self, gboolean value); gboolean tpa_contact_is_hidden (TpaContact *self); void tpa_contact_block (TpaContact *self, gboolean value); gboolean tpa_contact_is_blocked (TpaContact *self);
TpaSubscriptionStatus tpa_contact_get_subscription_status (TpaContact *self);
Get subscription status of the contact.
self : |
TpaContact instance |
Returns : | TpaSubscriptionStatus status |
void tpa_contact_subscribe (TpaContact *self, gboolean value);
Subscribe or unsubscribe contact.
self : |
TpaContact instance |
value : |
subsrcibe status |
TpaAuthorizationStatus tpa_contact_get_authorization_status (TpaContact *self);
Get authorization status of the contact.
self : |
TpaContact instance |
Returns : | TpaAuthorizationStatus status |
void tpa_contact_authorize (TpaContact *self, gboolean value);
Authorize or deny contact.
self : |
TpaContact instance |
value : |
authorize status. |
void tpa_contact_hide (TpaContact *self, gboolean value);
Set contact hide status.
self : |
TpaContact instance |
value : |
hide status |
gboolean tpa_contact_is_hidden (TpaContact *self);
Check whether contact is hidden or not.
self : |
TpaContact instance |
Returns : | hide status |
void tpa_contact_block (TpaContact *self, gboolean value);
Block or unblock contact.
self : |
TpaContact instance. |
value : |
boolean value. |
gboolean tpa_contact_is_blocked (TpaContact *self);
Checks whether contact is blocked or not.
self : |
TpaContact instance |
Returns : | TRUE if contact could be blocked |