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-osgi Show documentation
Show all versions of bluez-dbus-osgi Show documentation
Java native bluetooth library which uses bluez via dbus (linux only).
This is the OSGi compliant bundle of all required libraries in one bundle.
package org.bluez;
import java.util.Map;
import org.bluez.exceptions.BluezInvalidArgumentsException;
import org.bluez.exceptions.BluezNotAllowedException;
import org.bluez.exceptions.BluezNotFoundException;
import org.freedesktop.dbus.DBusPath;
import org.freedesktop.dbus.interfaces.DBusInterface;
import org.freedesktop.dbus.types.Variant;
/**
* File generated - 2020-06-18.
* 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;
}