summaryrefslogtreecommitdiff
path: root/doc/obex-agent-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-21 18:15:42 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-12-21 18:15:42 +0100
commit9a023fc495fe6171d98ee54ba0639e66161a5977 (patch)
tree9459c187e6a073b33ae2d379358d14ce4ab44d10 /doc/obex-agent-api.txt
parent4f95148bd4b1df0b4d14a2530cb0cfd1ffc3029c (diff)
downloadbluez-9a023fc495fe6171d98ee54ba0639e66161a5977.tar.gz
doc: Add Release callback to OBEX agent API
Diffstat (limited to 'doc/obex-agent-api.txt')
-rw-r--r--doc/obex-agent-api.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/obex-agent-api.txt b/doc/obex-agent-api.txt
index 1eb5fcfa7..2a2edb698 100644
--- a/doc/obex-agent-api.txt
+++ b/doc/obex-agent-api.txt
@@ -33,7 +33,15 @@ Service unique name
Interface org.bluez.obex.Agent1
Object path freely definable
-Methods string Authorize(object transfer, string bt_address, string name,
+Methods void Release()
+
+ This method gets called when the service daemon
+ unregisters the agent. An agent can use it to do
+ cleanup tasks. There is no need to unregister the
+ agent, because when this method gets called it has
+ already been unregistered.
+
+ string Authorize(object transfer, string address, string name,
string type, int32 length, int32 time)
This method gets called when the service daemon