Skip to content

Latest commit

 

History

History
215 lines (189 loc) · 6.68 KB

org.nemomobile.MmsEngine.xml

File metadata and controls

215 lines (189 loc) · 6.68 KB
 
Feb 17, 2014
Feb 17, 2014
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?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">
<!--
===============================================================
Cancels sending, receiving or any other activity related to
the specified message. This needs to be done when message is
being deleted before it has been completely received/sent.
===============================================================
-->
<method name="cancel">
<!--
Database record id.
-->
<arg direction="in" type="i" name="recId"/>
</method>
<!--
===============================================================
======================== R E C E I V E ========================
===============================================================
-->
<!--
===============================================================
Initiates manual receive. Does nothing if this message is being
processed. If processing is deferred due to a network error,
wakes it up and retries immediately.
===============================================================
-->
<method name="receiveMessage">
<!--
Database record id.
-->
<arg direction="in" type="i" name="recId"/>
<!--
Subscriber identity. This must be IMSI of the SIM received the
original push message.
-->
<arg direction="in" type="s" name="imsi"/>
<!--
Automatic vs manual mode. If this is TRUE then MMS engine
will automatically retry in case of a network error.
Otherwise, it will wait for another receiveMessage call.
-->
<arg direction="in" type="b" name="auto"/>
<!--
Raw push message.
-->
<arg direction="in" type="ay" name="data">
<annotation name="org.gtk.GDBus.C.ForceGVariant" value="true"/>
</arg>
</method>
<!--
===============================================================
Send a read report.
===============================================================
-->
<method name="sendReadReport">
<!--
Database record id.
-->
<arg direction="in" type="i" name="recId"/>
<!--
Subscriber identity. This must be IMSI of the SIM received the
original message.
-->
<arg direction="in" type="s" name="imsi"/>
<!--
Message-ID.
-->
<arg direction="in" type="s" name="mmsId"/>
<!--
Sender of the original message (recipient of the read report)
-->
<arg direction="in" type="s" name="to"/>
<!--
Read status:
0: Read
1: Deleted without reading
-->
<arg direction="in" type="i" name="status"/>
</method>
<!--
===============================================================
=========================== S E N D ===========================
===============================================================
-->
<!--
===============================================================
Send a message.
===============================================================
-->
<method name="sendMessage">
<!--
Database record id.
-->
<arg direction="in" type="i" name="recId"/>
<!--
Subscriber identity. If empty, MMS engine can use any
available SIM to send the message. The actual IMSI is
returned by this call and must be stored in the database.
-->
<arg direction="in" type="s" name="imsi"/>
<!--
To: list.
-->
<arg direction="in" type="as" name="to"/>
<!--
Cc: list.
-->
<arg direction="in" type="as" name="cc"/>
<!--
Bcc: list.
-->
<arg direction="in" type="as" name="bcc"/>
<!--
Message subject.
-->
<arg direction="in" type="s" name="subject"/>
<!--
Feb 19, 2014
Feb 19, 2014
138
Flags:
Feb 17, 2014
Feb 17, 2014
139
Feb 19, 2014
Feb 19, 2014
140
141
0x01 Request delivery report
0x02 Request read report
Feb 17, 2014
Feb 17, 2014
142
-->
Feb 19, 2014
Feb 19, 2014
143
<arg direction="in" type="u" name="flags"/>
Feb 17, 2014
Feb 17, 2014
144
145
146
147
148
149
150
151
152
153
154
<!--
Each variant in the parts array is (sss):
s - file name
s - content type (including charset)
s - content id (optional)
If SMIL attachment is missing, MMS engine will automatically
generate one from a template. In that case content ids are
generated by the MMS engine, if they are empty.
-->
Feb 18, 2014
Feb 18, 2014
155
<arg direction="in" type="a(sss)" name="parts"/>
Feb 17, 2014
Feb 17, 2014
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<!--
The actual IMSI that will be used to send this message.
Should be stored in the database.
-->
<arg direction="out" type="s" name="imsiActual"/>
</method>
<!--
===============================================================
================== M I S C E L L A N E O U S ==================
===============================================================
-->
<!-- Handles calls from push-forwarder plugin -->
<method name="push">
<arg type="s" name="imsi" direction="in"/>
<arg type="s" name="from" direction="in"/>
<arg type="u" name="remote_time" direction="in"/>
<arg type="u" name="local_time" direction="in"/>
<arg type="i" name="dst_port" direction="in"/>
<arg type="i" name="src_port" direction="in"/>
<arg type="s" name="content_type" direction="in"/>
<arg type="ay" name="data" direction="in">
<annotation name="org.gtk.GDBus.C.ForceGVariant" value="true"/>
</arg>
</method>
<!-- Handles calls from push-agent service -->
<method name="pushNotify">
<arg type="s" name="imsi" direction="in"/>
<arg type="s" name="content_type" direction="in"/>
<arg type="ay" name="data" direction="in">
<annotation name="org.gtk.GDBus.C.ForceGVariant" value="true"/>
</arg>
</method>
<method name="setLogLevel">
<arg type="s" name="module" direction="in"/>
<arg type="i" name="level" direction="in"/>
</method>
<method name="setLogType">
<arg type="s" name="type" direction="in"/>
</method>
Jul 16, 2014
Jul 16, 2014
201
202
203
204
205
206
207
208
<!-- Since 1.0.22 -->
<method name="getVersion">
<arg type="i" name="major" direction="out"/>
<arg type="i" name="minor" direction="out"/>
<arg type="i" name="micro" direction="out"/>
<arg type="s" name="suffix" direction="out"/>
</method>
Jul 16, 2014
Jul 16, 2014
209
210
211
212
213
<!-- Since 1.0.22 -->
<method name="migrateSettings">
<arg type="s" name="imsi" direction="in"/>
</method>
Feb 17, 2014
Feb 17, 2014
214
215
</interface>
</node>