Class
PurplePresence
since: 2.0
Description [src]
final class Purple.Presence : GObject.Object
{
/* No available fields */
}
A PurplePresence is like a collection of PurpleStatuses (plus some other
random info). For any buddy, or for any one of your accounts, or for any
person with which you’re chatting, you may know various amounts of
information. This information is all contained in one PurplePresence. If
one of your buddies is away and idle, then the presence contains the
PurpleStatus
for their awayness, and it contains their current idle time.
PurplePresence
‘s are never saved to disk. The information they contain is
only relevant for the current Purple session.
Note: When a presence is destroyed with the last g_object_unref(), all statuses added to this list will be destroyed along with the presence.
Available since: 2.0
Instance methods
purple_presence_get_emoji
Gets the current emoji, sometimes referred to as a mood, of presence
.
unstable since: 3.0
purple_presence_get_idle_time
Gets the idle time of presence
. This can be NULL
if the protocol doesn’t
support idle times or if the presence isn’t in an idle state.
since: 2.0
purple_presence_get_notifications_disabled
Gets whether or not presence
has notifications disabled.
unstable since: 3.0
purple_presence_set_emoji
Sets the current emoji, sometimes referred to as a mood, of presence
to
emoji
.
unstable since: 3.0
purple_presence_set_idle_time
Sets the time that presence
went idle to idle_time
.
unstable since: 3.0
purple_presence_set_notifications_disabled
Sets whether or not presence
has notifications disabled.
unstable since: 3.0
purple_presence_set_primitive
Sets the PurplePresencePrimitive
for presence
to primitive
.
unstable since: 3.0
Properties
Purple.Presence:notifications-disabled
Whether or not the presence has notifications disabled.
unstable since: 3.0
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.