org.bluez.obex.AgentManager1 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bluez-dbus Show documentation
Show all versions of bluez-dbus Show documentation
Java native bluetooth library which uses bluez via dbus (linux only)
The newest version!
package org.bluez.obex;
import org.bluez.exceptions.BluezAlreadyExistsException;
import org.bluez.exceptions.BluezDoesNotExistException;
import org.freedesktop.dbus.DBusPath;
import 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
*
*/
public interface AgentManager1 extends DBusInterface {
/**
* 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.
*
*
* @param _agent agent
*
* @throws BluezAlreadyExistsException when item already exists
*/
void RegisterAgent(DBusPath _agent) throws BluezAlreadyExistsException;
/**
* 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.
*
*
* @param _agent agent
*
* @throws BluezDoesNotExistException when item does not exist
*/
void UnregisterAgent(DBusPath _agent) throws BluezDoesNotExistException;
}