1
<?xml version="1.0" encoding="UTF-8" ?>
3
<node name="/presencemanager-introspec" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
4
<interface name="org.sflphone.SFLphone.PresenceManager">
6
<method name="publish" tp:name-for-bindings="publish">
7
<tp:added version="1.3.0"/>
8
<arg type="s" name="accountID" direction="in">
10
The account from which the presence will be emitted
13
<arg type="b" name="status" direction="in">
15
Is this account present or not
18
<arg type="s" name="note" direction="in">
20
A message transmitted by the server to other users
25
<method name="answerServerRequest" tp:name-for-bindings="answerServerRequest">
27
Answer a presence request from the server
29
<tp:added version="1.3.0"/>
30
<arg type="s" name="uri" direction="in">
34
<arg type="b" name="flag" direction="in">
36
Is the request granted or denied
41
<method name="subscribeBuddy" tp:name-for-bindings="subscribeBuddy">
43
Ask be be notified when 'uri' presence change
45
<tp:added version="1.3.0"/>
46
<arg type="s" name="accountID" direction="in">
48
An account from which get request presence informations
51
<arg type="s" name="uri" direction="in">
56
<arg type="b" name="flag" direction="in">
62
<method name="getSubscriptions" tp:name-for-bindings="getSubscriptions">
63
<tp:added version="1.3.0"/>
65
New clients connecting to existing daemon need to be aware of active
68
<annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="VectorMapStringString">
69
While there is more status than "Online" or "Offline", only those
71
<arg type="s" name="accountID" direction="in">
73
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorMapStringString"/>
74
<arg type="aa{ss}" name="credentialInformation" direction="out" tp:type="String_String_Map">
76
List of hashes map with the following key-value pairs:
77
* Status: "Online" or "Offline"
83
<method name="setSubscriptions" tp:name-for-bindings="setSubscriptions">
84
<tp:added version="1.3.0"/>
85
<tp:rationale>Calling "subscribeClient" in a loop is too slow</tp:rationale>
86
<arg type="s" name="accountID" direction="in">
88
<annotation name="com.trolltech.QtDBus.QtTypeName.In1" value="VectorString"/>
89
<arg type="as" name="uriList" direction="in">
94
<!--TODO<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
95
<arg type="as" name="invalidUris" direction="out">
97
List of invalid URIs. An URI must be a valid SIP URI. Clients should purge
98
the list from all invalid URIs
105
<signal name="newBuddyNotification" tp:name-for-bindings="newBuddyNotification">
106
<tp:added version="1.3.0"/>
108
Notify when a registered presence uri presence informations changes
110
<arg type="s" name="accountID">
112
The associated account
115
<arg type="s" name="buddyUri">
120
<arg type="b" name="status">
122
Is the URI present or not
125
<arg type="s" name="lineStatus">
127
A string containing informations from the user (human readable)
132
<signal name="subscriptionStateChanged" tp:name-for-bindings="subscriptionStateChanged">
133
<tp:added version="1.3.0"/>
135
Notify when a the server changes the state of a subscription.
137
<arg type="s" name="accountID">
139
The associated account
142
<arg type="s" name="buddyUri">
147
<arg type="b" name="state">
149
True/ false when the subscription is active/termintated.
154
<signal name="newServerSubscriptionRequest" tp:name-for-bindings="newServerSubscriptionRequest">
155
<tp:added version="1.3.0"/>
156
<arg type="s" name="buddyUri">
158
Notify when an other user (or the server) request your presence informations
163
<signal name="serverError" tp:name-for-bindings="serverError">
164
<tp:added version="1.3.0"/>
165
<arg type="s" name="accountID">
170
<arg type="s" name="error">
172
Code returned by the server
175
<arg type="s" name="msg">