aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald Tessier <ronald.tessier@linux.intel.com>2012-06-12 16:02:23 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-06-25 00:08:33 -0700
commitb4f21b2d79c6928b712740474df0f851cf7b7740 (patch)
tree8c1d77cb81f179a074dd3c914f3551e12a9a255d
parentaa640859041de0aa8e2e3b731415e66f1e56b8fb (diff)
downloadmmsd-b4f21b2d79c6928b712740474df0f851cf7b7740.tar.gz
doc: Add new D-Bus methods to service interface
-rw-r--r--doc/service-api.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/service-api.txt b/doc/service-api.txt
index 36e1161..02396ff 100644
--- a/doc/service-api.txt
+++ b/doc/service-api.txt
@@ -63,6 +63,26 @@ Methods array{object,dict} GetMessages()
[service].Error.PermanentContentNotAccepted
[service].Error.PermanentLackOfPrepaid
+ void DeleteMessages(array{object})
+
+ Delete an array of message objects that represents
+ the currently stored messages to delete.
+
+ Possible Errors: [service].Error.InvalidArguments
+
+ void DeleteConversation(string number)
+
+ Delete the messages that belongs to the conversation
+ defined by the given number.
+
+ The number parameter contains digits to look for
+ (i.e.: n last digits of the phone number), only messages
+ with a recipient which ends with the given number will
+ be member of the conversation and thus will be deleted.
+
+ Possible Errors: [service].Error.InvalidArguments
+
+
Signals MessageAdded(object path, dict properties)
Signal that is sent when a new message is added. It