summaryrefslogtreecommitdiff
path: root/doc/health-api.txt
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2010-07-12 18:24:01 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2010-07-12 18:24:01 -0300
commit71cafd1631afdb3e48d47155814525d1c577bd6b (patch)
tree28bcd70dc4f7f29f74e055067a0f12fe81d65d8e /doc/health-api.txt
parent585cb76500dc9c22e335ed657716f35eedc594c5 (diff)
downloadbluez-71cafd1631afdb3e48d47155814525d1c577bd6b.tar.gz
Rename Register/UnregisterApplication to Create/DestroyApplication
Create/Destroy makes more sense since the application is created on the bluetoothd side whereas what's really registered is an agent on the caller side. This way the call is similar to e.g. CreatePairedDevice, and so the parameter order should also be config first and then the agent.
Diffstat (limited to 'doc/health-api.txt')
-rw-r--r--doc/health-api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/health-api.txt b/doc/health-api.txt
index 6b5a48586..f469df3ea 100644
--- a/doc/health-api.txt
+++ b/doc/health-api.txt
@@ -14,7 +14,7 @@ Object path /org/bluez/
Methods:
- object RegisterApplication(object agent, dict config)
+ object CreateApplication(dict config, object agent)
Returns the path of the new registered application. The agent
parameter is the path of the object with the callbacks to
@@ -35,7 +35,7 @@ Methods:
Possible errors: org.bluez.Error.InvalidArguments
- void UnregisterApplication(object application)
+ void DestroyApplication(object application)
Closes the HDP application identified by the object path. Also
application will be closed if the process that started it leaves