org.bluez.obex.AgentManager(5) Linux System Administration org.bluez.obex.AgentManager(5)

# [Name](#Name)

org.bluez.obex.AgentManager - BlueZ D-Bus OBEX AgentManager API documentation

# [Interface](#Interface)

[**Service**](#Service)

org.bluez.obex

[**Interface**](#Interface~2)

org.bluez.obex.AgentManager1

[**Object path**](#Object)

/org/bluez/obex

## [Methods](#Methods)

## [void RegisterAgent(object agent)](#void_RegisterAgent%28object_agent%29)

Registers an agent, which must implement [**org.bluez.obex.Agent(5)**](/man/os/bluez/org.bluez.obex.Agent.5), to request authorization of the user to accept/reject objects.

Object push service needs to authorize each received object.

Possible errors:

[**org.bluez.obex.Error.AlreadyExists**](#org.bluez.obex.Error.AlreadyExists)

## [void UnregisterAgent(object agent)](#void_UnregisterAgent%28object_agent%29)

Unregisters the agent that has been previously registered using **RegisterAgent()**.

The object path parameter must match the same value that has been used on registration.

Possible errors:

[**org.bluez.obex.Error.DoesNotExist**](#org.bluez.obex.Error.DoesNotExist)

October 2023 BlueZ

---

Document: org.bluez.obex.AgentManager(5) from bluez 5.87-r4 (Chainguard OS)
Source: https://github.com/bluez/bluez
