1AnyEvent::XMPP::IM::PreUsseenrceC(o3n)tributed Perl DocuAmneynEtvaetnito:n:XMPP::IM::Presence(3)
2
3
4

NAME

6       AnyEvent::XMPP::IM::Presence - XMPP presence
7

SYNOPSIS

DESCRIPTION

10       This module represents an XMPP presence. It stores the full JID of the
11       contact, the show value, status value and priority.
12
13       AnyEvent::XMPP::IM::Presence is derived from
14       AnyEvent::XMPP::IM::Delayed, use the interface described there to find
15       out whether this presence was delayed.
16

METHODS

18       jid Returns the full JID of this presence.
19
20       priority
21           Returns the priority of this presence.
22
23       status_all_lang
24           Returns all language tags of available status descriptions.  See
25           also status.
26
27       show
28           Returns the show value of this presence, which is one of:
29
30              'away', 'chat', 'dnd', 'xa'
31
32           or the empty string if the presence is 'available'.
33
34       status ([$lang])
35           Returns the presence description. $lang is optional can should be
36           one of the tags returned by "status_all_lang".
37
38       make_message (%args)
39           Returns a AnyEvent::XMPP::IM::Message object with the to field set
40           to this presence full JID.
41
42           %args are further arguments to the constructor of the message.
43

AUTHOR

45       Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>"
46
48       Copyright 2007, 2008 Robin Redeker, all rights reserved.
49
50       This program is free software; you can redistribute it and/or modify it
51       under the same terms as Perl itself.
52
53
54
55perl v5.32.1                      2021-01-26   AnyEvent::XMPP::IM::Presence(3)
Impressum