Interface AgentManager1

All Superinterfaces:
org.freedesktop.dbus.interfaces.DBusInterface

public interface AgentManager1 extends org.freedesktop.dbus.interfaces.DBusInterface
File generated - 2023-02-20.
Based on bluez Documentation: obex-agent-api.txt.

Service: org.bluez.obex
Interface: org.bluez.obex.AgentManager1

Object path:
/org/bluez/obex

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    RegisterAgent(org.freedesktop.dbus.DBusPath _agent)
    From bluez documentation:

    Register an agent to request authorization of
    the user to accept/reject objects.
    void
    UnregisterAgent(org.freedesktop.dbus.DBusPath _agent)
    From bluez documentation:

    This unregisters the agent that has been previously
    registered.

    Methods inherited from interface org.freedesktop.dbus.interfaces.DBusInterface

    getObjectPath, isRemote
  • Method Details

    • RegisterAgent

      void RegisterAgent(org.freedesktop.dbus.DBusPath _agent) throws BluezAlreadyExistsException
      From bluez documentation:

      Register an agent to request authorization of
      the user to accept/reject objects. Object push
      service needs to authorize each received object.

      Parameters:
      _agent - agent
      Throws:
      BluezAlreadyExistsException - when item already exists
    • UnregisterAgent

      void UnregisterAgent(org.freedesktop.dbus.DBusPath _agent) throws BluezDoesNotExistException
      From bluez documentation:

      This unregisters the agent that has been previously
      registered. The object path parameter must match the
      same value that has been used on registration.

      Parameters:
      _agent - agent
      Throws:
      BluezDoesNotExistException - when item does not exist