org.bluez.HealthManager1 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;
import org.bluez.exceptions.*;
import org.freedesktop.dbus.DBusPath;
import org.freedesktop.dbus.interfaces.DBusInterface;
import org.freedesktop.dbus.types.Variant;
import java.util.Map;
/**
* File generated - 2023-02-20.
* Based on bluez Documentation: health-api.txt.
*
* Service: org.bluez
* Interface: org.bluez.HealthManager1
*
* Object path:
* /org/bluez/
*
*/
public interface HealthManager1 extends DBusInterface {
/**
* From bluez documentation:
*
* Returns the path of the new registered application.
* Application will be closed by the call or implicitly
* when the programs leaves the bus.
*
* config:
* uint16 DataType:
*
* Mandatory
*
* string Role:
*
* Mandatory. Possible values: "source",
* "sink"
*
* string Description:
*
* Optional
*
* ChannelType:
*
* Optional, just for sources. Possible
* values: "reliable", "streaming"
*
*
* @param _config config
*
* @return DBusPath - maybe null
*
* @throws BluezInvalidArgumentsException when argument is invalid
*/
DBusPath CreateApplication(Map> _config) throws BluezInvalidArgumentsException;
/**
* From bluez documentation:
*
* Closes the HDP application identified by the object
* path. Also application will be closed if the process
* that started it leaves the bus. Only the creator of the
* application will be able to destroy it.
*
*
* @param _application application
*
* @throws BluezInvalidArgumentsException when argument is invalid
* @throws BluezNotFoundException when item not found
* @throws BluezNotAllowedException when operation not allowed
*/
void DestroyApplication(DBusPath _application) throws BluezInvalidArgumentsException, BluezNotFoundException, BluezNotAllowedException;
}