mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-23 20:24:21 +08:00
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.
This commit is contained in:
parent
585cb76500
commit
71cafd1631
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user