Skip to content

Commit

Permalink
Tweaking send interfaces
Browse files Browse the repository at this point in the history
Added org.nemomobile.MmsHandler.messageSent notification which lets
the handler know what MMS message id has been assigned to the message
by the operator.
  • Loading branch information
monich committed Feb 22, 2014
1 parent 0d441b3 commit ea072ec
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions mms-handler-dbus/spec/org.nemomobile.MmsHandler.xml
Expand Up @@ -199,7 +199,11 @@
<!--
===============================================================
Message send state update.
Message send state update. These are intermediate states.
Once the message has been uploaded to MMSC and operator
accepts it for delivery, messageSent notification will be
issued and there will be no messageSendStateChanged calls
for this message anymore.
===============================================================
-->
Expand All @@ -218,11 +222,34 @@
4 (NoSpace): No space left, delete something and try again
5 (SendError): Failed to send the message
6 (Refused): Operator refused to accept the message
7 (Sent): Message sent (accepted by the operator)
-->
<arg direction="in" type="i" name="state"/>
</method>

<!--
===============================================================
Message send notification. Means that message has been queued
for delivery and lets the handler know what MMS message id has
been assigned to it by the operator.
===============================================================
-->
<method name="messageSent">
<!--
Database record id.
-->
<arg direction="in" type="s" name="recId"/>
<!--
Message-ID.
Message id is assigned by the operator when it accepts
the message for delivery. This string will identify the
message in deliveryReport and readReport notifications.
-->
<arg direction="in" type="s" name="mmsId"/>
</method>

<!--
===============================================================
Expand Down

0 comments on commit ea072ec

Please sign in to comment.