- Object path
void RegisterAgent(object agent, string capability)
Registers pairing agent.
The object path defines the path of the agent that will be called when user input is needed and must implement org.bluez.Agent(5) interface.
Every application can register its own agent and for all actions triggered by that application its agent is used.
It is not required by an application to register an agent. If an application does chooses to not register an agent, the default agent is used. This is on most cases a good idea. Only application like a pairing wizard should register their own agent.
An application can only register one agent. Multiple agents per application is not supported.
Possible capability values:
Fallback to "KeyboardDisplay".
void UnregisterAgent(object agent)
Unregisters an agent that has been previously registered using RegisterAgent. The object path parameter must match the same value that has been used on registration.
void RequestDefaultAgent(object agent)
Requests to make the application agent the default agent. The application is required to register an agent.
Special permission might be required to become the default agent.