org.bluez.ThermometerManager1 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 org.bluez.exceptions.BluezInvalidArgumentsException;
import org.bluez.exceptions.BluezNotFoundException;
import org.freedesktop.dbus.DBusPath;
import org.freedesktop.dbus.interfaces.DBusInterface;
/**
* File generated - 2020-06-18.
* Based on bluez Documentation: thermometer-api.txt.
*
* Service: org.bluez
* Interface: org.bluez.ThermometerManager1
*
* Object path:
* [variable prefix]/{hci0,hci1,...}
*
*/
public interface ThermometerManager1 extends DBusInterface {
/**
* From bluez documentation:
*
* Registers a watcher to monitor scanned measurements.
* This agent will be notified about final temperature
* measurements.
*
*
* @param _agent agent
*
* @throws BluezInvalidArgumentsException when argument is invalid
*/
void RegisterWatcher(DBusPath _agent) throws BluezInvalidArgumentsException;
/**
* From bluez documentation:
*
* Unregisters a watcher.
*
*
* @param _agent agent
*/
void UnregisterWatcher(DBusPath _agent);
/**
* From bluez documentation:
*
* Enables intermediate measurement notifications
* for this agent. Intermediate measurements will
* be enabled only for thermometers which support it.
*
*
* @param _agent agent
*
* @throws BluezInvalidArgumentsException when argument is invalid
*/
void EnableIntermediateMeasurement(DBusPath _agent) throws BluezInvalidArgumentsException;
/**
* From bluez documentation:
*
* Disables intermediate measurement notifications
* for this agent. It will disable notifications in
* thermometers when the last agent removes the
* watcher for intermediate measurements.
*
*
* @param _agent agent
*
* @throws BluezInvalidArgumentsException when argument is invalid
* @throws BluezNotFoundException when item not found
*/
void DisableIntermediateMeasurement(DBusPath _agent) throws BluezInvalidArgumentsException, BluezNotFoundException;
}