1ORG.BLUEZ.AGENTMANAGER(5)Linux System AdministrationORG.BLUEZ.AGENTMANAGER(5)
2
3
4

NAME

6       org.bluez.AgentManager - BlueZ D-Bus AgentManager API documentation
7

INTERFACE

9       Service
10              org.bluez
11
12       Interface
13              org.bluez.AgentManager1
14
15       Object path
16              /org/bluez
17
18   Methods
19   void RegisterAgent(object agent, string capability)
20          Registers pairing agent.
21
22          The  object  path  defines the path of the agent that will be called
23          when user input is needed and must implement org.bluez.Agent(5)  in‐
24          terface.
25
26          Every  application  can  register  its own agent and for all actions
27          triggered by that application its agent is used.
28
29          It is not required by an application to register an agent. If an ap‐
30          plication  does  chooses to not register an agent, the default agent
31          is used. This is on most cases a good idea. Only application like  a
32          pairing wizard should register their own agent.
33
34          An  application can only register one agent. Multiple agents per ap‐
35          plication is not supported.
36
37          Possible capability values:
38
39          ""     Fallback to "KeyboardDisplay".
40
41          "DisplayOnly"
42
43          "DisplayYesNo"
44
45          "KeyboardOnly"
46
47          "NoInputNoOutput"
48
49          "KeyboardDisplay"
50
51          Possible errors:
52
53          org.bluez.Error.InvalidArguments
54
55          org.bluez.Error.AlreadyExists
56
57   void UnregisterAgent(object agent)
58          Unregisters an agent that has been previously registered using  Reg‐
59          isterAgent. The object path parameter must match the same value that
60          has been used on registration.
61
62          Possible errors:
63
64          org.bluez.Error.DoesNotExist
65
66   void RequestDefaultAgent(object agent)
67          Requests to make the application agent the default agent. The appli‐
68          cation is required to register an agent.
69
70          Special permission might be required to become the default agent.
71
72          Possible errors:
73
74          org.bluez.Error.DoesNotExist
75
76
77
78
79BlueZ                            October 2023        ORG.BLUEZ.AGENTMANAGER(5)
Impressum