/
org.nemomobile.MmsEngine.TransferList.xml
71 lines (69 loc) · 2.89 KB
/
org.nemomobile.MmsEngine.TransferList.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE node PUBLIC
"-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
"http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
<node>
<interface name="org.nemomobile.MmsEngine.TransferList">
<method name="Get">
<arg name="list" type="ao" direction="out"/>
</method>
<signal name="TransferStarted">
<arg name="path" type="o"/>
</signal>
<signal name="TransferFinished">
<arg name="path" type="o"/>
</signal>
</interface>
<interface name="org.nemomobile.MmsEngine.Transfer">
<method name="GetAll">
<arg name="version" type="u" direction="out"/>
<arg name="bytes_sent" type="u" direction="out"/>
<arg name="bytes_to_send" type="u" direction="out"/>
<arg name="bytes_received" type="u" direction="out"/>
<arg name="bytes_to_receive" type="u" direction="out"/>
</method>
<!--
uint32 EnableUpdates(uint32)
Ensures that the specified progress signals are emitted.
Note that you may still receive the signals even if you
have not enabled them, because they may be enabled by
another D-Bus client. However if you need realtime updates
you better explicitely enable them.
Returns the cookie which can be used to revoke this request
for progress signals with DisableUpdates calls.
-->
<method name="EnableUpdates">
<!-- 1 - send, 2 - receive, 3 - both -->
<arg name="flags" type="u" direction="in"/>
<arg name="cookie" type="u" direction="out"/>
</method>
<method name="DisableUpdates">
<arg name="cookie" type="u" direction="in"/>
</method>
<method name="GetInterfaceVersion">
<arg name="version" type="u" direction="out"/>
</method>
<method name="GetSendProgress">
<arg name="bytes_sent" type="u" direction="out"/>
<arg name="bytes_to_send" type="u" direction="out"/>
</method>
<method name="GetReceiveProgress">
<arg name="bytes_received" type="u" direction="out"/>
<arg name="bytes_to_receive" type="u" direction="out"/>
</method>
<!--
Progress signals are only emitted if at least one client has
enabled them with EnableUpdates call. They are emitted as long
as at least one client needs them.
-->
<signal name="SendProgressChanged">
<arg name="bytes_sent" type="u"/>
<arg name="bytes_to_send" type="u"/>
</signal>
<signal name="ReceiveProgressChanged">
<arg name="bytes_received" type="u"/>
<arg name="bytes_to_receive" type="u"/>
</signal>
<signal name="Finished"/>
</interface>
</node>