From fc8eb9740a846de0724f5580afb3b08bcda1bc1e Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 13 Mar 2008 19:28:32 +0000 Subject: Document agent register/unregister methods --- doc/adapter-api.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'doc') diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt index 259e7018..305aa624 100644 --- a/doc/adapter-api.txt +++ b/doc/adapter-api.txt @@ -112,6 +112,26 @@ Methods dict GetProperties() Possible errors: org.bluez.Error.InvalidArguments org.bluez.Error.Failed + void RegisterAgent(object agent) + + This registers the adapter wide agent. + + The object path defines the path the of the agent + that will be called when user input is needed. + + If an application disconnects from the bus all + of its registered agents will be removed. + + Possible errors: org.bluez.Error.AlreadyExists + + void UnregisterAgent(object agent) + + This unregisters the agent that has been previously + registered. The object path parameter must match the + same value that has been used on registration. + + Possible errors: org.bluez.Error.DoesNotExist + Signals PropertyChanged(string name, variant value) This signal indicates a changed value of the given -- cgit