Top | ![]() |
![]() |
![]() |
![]() |
FolksPresenceDetailsFolksPresenceDetails — Interface exposing a FolksPersona's or FolksIndividual's presence; their current availability, such as for chatting. |
If the FolksBackend providing the FolksPersona doesn't support presence, the FolksPersona's presence_type
will be set to FOLKS_PRESENCE_TYPE_UNSET and their presence_message
will be an empty string.
The possible presence states an object implementing FolksPresenceDetails could be in.
These closely follow the SimplePresence interface in the Telepathy specification.
typedef struct _FolksPresenceDetails FolksPresenceDetails;
Interface exposing a FolksPersona's or FolksIndividual's presence; their current availability, such as for chatting.
If the FolksBackend providing the FolksPersona doesn't support presence, the FolksPersona's presence_type
will be set to FOLKS_PRESENCE_TYPE_UNSET and their presence_message
will be an empty string.
struct FolksPresenceDetailsIface { GTypeInterface parent_iface; FolksPresenceType (*get_presence_type) (FolksPresenceDetails* self); void (*set_presence_type) (FolksPresenceDetails* self, FolksPresenceType value); const gchar* (*get_presence_message) (FolksPresenceDetails* self); void (*set_presence_message) (FolksPresenceDetails* self, const gchar* value); gchar** (*get_client_types) (FolksPresenceDetails* self, gint* result_length1); void (*set_client_types) (FolksPresenceDetails* self, gchar** value, gint value_length1); const gchar* (*get_presence_status) (FolksPresenceDetails* self); void (*set_presence_status) (FolksPresenceDetails* self, const gchar* value); };
Interface for creating FolksPresenceDetails implementations.
the parent interface structure |
||
getter method for the abstract property "presence-type" |
||
setter method for the abstract property "presence-type" |
||
getter method for the abstract property "presence-message" |
||
setter method for the abstract property "presence-message" |
||
getter method for the abstract property "client-types" |
||
setter method for the abstract property "client-types" |
||
getter method for the abstract property "presence-status" |
||
setter method for the abstract property "presence-status" |