From f5a4741b96908bce4cf7e4c5d37e2f33f2922434 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 3 Jun 2008 13:55:38 +0000 Subject: Add capability parameter for the agent registration --- doc/adapter-api.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt index 9ae43b39..55b36621 100644 --- a/doc/adapter-api.txt +++ b/doc/adapter-api.txt @@ -135,7 +135,7 @@ Methods dict GetProperties() Possible errors: org.bluez.Error.InvalidArguments org.bluez.Error.Failed - void RegisterAgent(object agent) + void RegisterAgent(object agent, string capability) This registers the adapter wide agent. @@ -145,7 +145,14 @@ Methods dict GetProperties() If an application disconnects from the bus all of its registered agents will be removed. - Possible errors: org.bluez.Error.AlreadyExists + The capability parameter can have the values + "DisplayOnly", "DisplayYesNo", "KeyboardOnly" and + "NoInputNoOutput" which reflects the input and output + capabilities of the agent. If an empty string is + used it will fallback to "DisplayYesNo". + + Possible errors: org.bluez.Error.InvalidArguments + org.bluez.Error.AlreadyExists void UnregisterAgent(object agent) -- cgit