Class

PurpleBuddyPresence

Description [src]

final class Purple.BuddyPresence : Purple.Presence {
  /* No available fields */
}

A PurpleBuddyPresence represent the PurplePresence for a specific PurpleBuddy.

Constructors

purple_buddy_presence_new

Creates a presence for a buddy.

Available since: 3.0.0

Instance methods

purple_buddy_presence_compare

Compares two buddy presences for availability.

purple_buddy_presence_get_buddy

Returns the buddy presence’s buddy.

Methods inherited from PurplePresence (15)
purple_presence_compare

Compares the presences for availability.

Available since: 3.0.0

purple_presence_get_active_status

Gets the active exclusive status from presence.

purple_presence_get_idle_time

Gets the idle time of presence.

purple_presence_get_login_time

Gets the login time of presence.

purple_presence_get_status

Gets the status with the specified ID from presence.

purple_presence_get_statuses

Gets a list of all the statuses in presence.

purple_presence_is_available

Gets whether or not presence is available.

purple_presence_is_idle

Gets whether or not presence is idle.

purple_presence_is_online

Gets whether or not presence is online.

purple_presence_is_status_active

Gets whether or not a status in presence is active.

purple_presence_is_status_primitive_active

Gets whether or not a status with the specified primitive type in presence is active.

purple_presence_set_idle

Sets the idle state and time of presence.

purple_presence_set_login_time

Sets the login time on a presence.

purple_presence_set_status_active

Sets the active state of a status in a presence.

purple_presence_switch_status

Switches the active status in a presence.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.BuddyPresence:buddy
No description available.
Properties inherited from PurplePresence (4)
Purple.Presence:active-status

The currently active status of the presence.

Purple.Presence:idle

Whether or not the presence is in an idle state.

Purple.Presence:idle-time

The time when the presence went idle.

Purple.Presence:login-time

The login-time of the presence.

Signals

Signals inherited from GObject (1)
GObject.Object::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.

Class structure

struct PurpleBuddyPresenceClass {
  PurplePresenceClass parent_class;
  
}
Class members
parent_class
PurplePresenceClass
  No description available.