summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-07-03 21:28:12 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-07-18 15:12:45 +0300
commitb30ce7febd8476b0526e742fcba3800d52ec2dd6 (patch)
treee97c3fffda929bbc66c58cd01ba49b30360e8065
parent45fb4ec27e98883d0c083c0dd42db02ac06397be (diff)
downloadobexd-b30ce7febd8476b0526e742fcba3800d52ec2dd6.tar.gz
client-doc: Add documentation of org.bluez.obex.Message
org.bluez.obex.Message have Get method which can be used to download the contents of message represented by the object.
-rw-r--r--doc/client-api.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/client-api.txt b/doc/client-api.txt
index 6f7d13f..1938a38 100644
--- a/doc/client-api.txt
+++ b/doc/client-api.txt
@@ -437,6 +437,27 @@ Methods void SetFolder(string name)
Message protected flag
+Message hierarchy
+=================
+
+Service org.bluez.obex.client
+Interface org.bluez.obex.Message
+Object path [variable prefix]/{session0,session1,...}/{message0,...}
+
+Methods object, dict Get(string targetfile)
+
+ Download message and store it in the target file.
+
+ If an empty target file is given, a temporary file
+ will be automatically generated.
+
+ The returned path represents the newly created transfer,
+ which should be used to find out if the content has been
+ successfully transferred or if the operation fails.
+
+ The properties of this transfer are also returned along
+ with the object path, to avoid a call to GetProperties.
+
Transfer hierarchy
==================