[ Back | warped.org | Gaim 2.0.0-beta4 Perl API ]


NAME

Gaim::Presence

METHODS

presence = $context->new

presence = $account->new_for_account

presence = $buddy->new_for_buddy

presence = $conv->new_for_conv

account = $presence->get_account

status = $presence->get_active_status

list = $presence->add_list ($source_list)

* $source_list (scalar)

$presence->add_status ($status)

* $status (Gaim::Status)

list = $presence->get_buddies

string = $presence->get_chat_user

integer = $presence1->compare ($presence2)

* $presence2 (Gaim::Presence)

presencecontext = $presence->get_context

conversation = $presence->get_conversation

$presence->destroy

$presence->set_idle ($idle, $idle_time)

* $idle (boolean)
* $idle_time (unix timestamp)

unix timestamp = $presence->get_idle_time

boolean = $presence->is_available

boolean = $presence->is_idle

boolean = $presence->is_online

boolean = $presence->is_status_active ($status_id)

* $status_id (string)

boolean = $presence->is_status_primitive_active ($primitive)

* $primitive (Gaim::StatusPrimitive)

unix timestamp = $presence->get_login_time

$presence->set_login_time ($login_time)

* $login_time (unix timestamp)

$presence->remove_buddy ($buddy)

* $buddy (Gaim::BuddyList::Buddy)

$presence->set_status_active ($status_id, $active)

* $status_id (string)
* $active (boolean)

status = $presence->get_status ($status_id)

* $status_id (string)

list = $presence->get_statuses

$presence->switch_status ($status_id)

* $status_id (string)

COPYRIGHT

Copyright (C) 2006 The Gaim Team


If this information helped you, consider exiting through your right. ©2006 Max Baker
Sun Apr 27 22:32:23 2008 PST