| Top |  |  |  |  | 
| FolksPresenceDetailsFolksPresenceDetails — Interface exposing a FolksPersona's or FolksIndividual's presence; their current availability, such as for chatting. | 
| gboolean | folks_presence_details_is_online () | 
| FolksPresenceType | folks_presence_details_get_presence_type () | 
| void | folks_presence_details_set_presence_type () | 
| const gchar * | folks_presence_details_get_presence_message () | 
| void | folks_presence_details_set_presence_message () | 
| gchar ** | folks_presence_details_get_client_types () | 
| void | folks_presence_details_set_client_types () | 
| const gchar * | folks_presence_details_get_presence_status () | 
| void | folks_presence_details_set_presence_status () | 
| const gchar * | folks_presence_details_get_default_message_from_type () | 
| gint | folks_presence_details_typecmp () | 
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.
gboolean
folks_presence_details_is_online (FolksPresenceDetails *self);
Whether the contact is online.
This will be true if the contact's presence type is higher than FOLKS_PRESENCE_TYPE_OFFLINE, as determined by folks_presence_details_typecmp().
FolksPresenceType
folks_presence_details_get_presence_type
                               (FolksPresenceDetails *self);
Get and return the current value of the "presence-type" property.
The contact's presence type.
Each contact can have one and only one presence type at any one time, representing their availability for communication. The default presence type is FOLKS_PRESENCE_TYPE_UNSET.
void folks_presence_details_set_presence_type (FolksPresenceDetails *self,FolksPresenceType value);
Set the value of the "presence-type" property to value
.
The contact's presence type.
Each contact can have one and only one presence type at any one time, representing their availability for communication. The default presence type is FOLKS_PRESENCE_TYPE_UNSET.
| self | the FolksPresenceDetails instance to modify | |
| value | the new value of the "presence-type" property | 
const gchar *
folks_presence_details_get_presence_message
                               (FolksPresenceDetails *self);
Get and return the current value of the "presence-message" property.
The contact's presence message.
This is a short message written by the contact to add detail to their presence type ("presence-type"). If the contact hasn't set a message, it will be an empty string.
void folks_presence_details_set_presence_message (FolksPresenceDetails *self,const gchar *value);
Set the value of the "presence-message" property to value
.
The contact's presence message.
This is a short message written by the contact to add detail to their presence type ("presence-type"). If the contact hasn't set a message, it will be an empty string.
| self | the FolksPresenceDetails instance to modify | |
| value | the new value of the "presence-message" property | 
gchar ** folks_presence_details_get_client_types (FolksPresenceDetails *self,gint *result_length1);
Get and return the current value of the "client-types" property.
The contact's client types.
One can connect to instant messaging networks on a huge variety of devices, from PCs, to phones to consoles. The client types are represented in strings, using the values documented by the XMPP registrar
Since: 0.9.5
void folks_presence_details_set_client_types (FolksPresenceDetails *self,gchar **value,gint value_length1);
Set the value of the "client-types" property to value
.
The contact's client types.
One can connect to instant messaging networks on a huge variety of devices, from PCs, to phones to consoles. The client types are represented in strings, using the values documented by the XMPP registrar
| self | the FolksPresenceDetails instance to modify | |
| value | the new value of the "client-types" property | 
Since: 0.9.5
const gchar *
folks_presence_details_get_presence_status
                               (FolksPresenceDetails *self);
Get and return the current value of the "presence-status" property.
The contact's detailed presence status.
This is a more detailed representation of the contact's presence than "presence-type". It may be empty, or one of a well-known set of strings, as defined in the Telepathy specification: Telepathy Specification
Since: 0.6.0
void folks_presence_details_set_presence_status (FolksPresenceDetails *self,const gchar *value);
Set the value of the "presence-status" property to value
.
The contact's detailed presence status.
This is a more detailed representation of the contact's presence than "presence-type". It may be empty, or one of a well-known set of strings, as defined in the Telepathy specification: Telepathy Specification
| self | the FolksPresenceDetails instance to modify | |
| value | the new value of the "presence-status" property | 
Since: 0.6.0
const gchar *
folks_presence_details_get_default_message_from_type
                               (FolksPresenceType type);
The default message for a presence type.
Since: 0.7.1
gint folks_presence_details_typecmp (FolksPresenceType type_a,FolksPresenceType type_b);
Compare two FolksPresenceTypes.
0 will be returned if the types are equal, a positive number will be returned if type_a is more available than type_b, and a negative number will be returned if the opposite is true.
| type_a | . the first FolksPresenceType to compare . | [in] | 
| type_b | . the second FolksPresenceType to compare . | [in] | 
Since: 0.1.11
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" |