Purple.Presence – purple Reference Manual
Presence
Object Hierarchy:
Purple.Presence
Purple.Presence
Purple.Presence
Description:
[
CCode
( free_function =
"purple_presence_destroy"
) ]
[
Compact
]
public
class
Presence
Namespace:
Purple
Package:
purple
Content:
Creation methods:
public
Presence
(
PresenceContext
context)
public
Presence.for_account
(
Account
account)
public
Presence.for_buddy
(
Buddy
buddy)
public
Presence.for_conv
(
Conversation
conv)
Methods:
public
void
add_list
(
List
source_list)
public
void
add_status
(
Status
status)
public
int
compare
(
Presence
presence2)
public
unowned
Account
get_account
()
public
unowned
Status
get_active_status
()
public
unowned
Buddy
get_buddy
()
public
unowned
string
get_chat_user
()
public
PresenceContext
get_context
()
public
unowned
Conversation
get_conversation
()
public
time_t
get_idle_time
()
public
time_t
get_login_time
()
public
unowned
Status
get_status
(
string
status_id)
public
unowned
List
get_statuses
()
public
bool
is_available
()
public
bool
is_idle
()
public
bool
is_online
()
public
bool
is_status_active
(
string
status_id)
public
bool
is_status_primitive_active
(
StatusPrimitive
primitive)
public
void
set_idle
(
bool
idle,
time_t
idle_time)
public
void
set_login_time
(
time_t
login_time)
public
void
set_status_active
(
string
status_id,
bool
active)
public
void
switch_status
(
string
status_id)
2022 vala-language.org