org.bluez.MediaEndpoint1 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)
package org.bluez;
import java.util.Map;
import org.freedesktop.dbus.DBusPath;
import org.freedesktop.dbus.interfaces.DBusInterface;
import org.freedesktop.dbus.types.Variant;
/**
* File generated - 2018-07-25.
* Based on bluez Documentation: media-api.txt.
*
* Service: unique name
* Interface: org.bluez.MediaEndpoint1
*
* Object path:
* freely definable
*
*/
public interface MediaEndpoint1 extends DBusInterface {
/**
* From bluez documentation:
*
* Set configuration for the transport.
*
*
* @param _transport
* @param _properties
*/
void SetConfiguration(DBusPath _transport, Map> _properties);
/**
* From bluez documentation:
*
* Select preferable configuration from the supported
* capabilities.
*
* Returns a configuration which can be used to setup
* a transport.
*
* Note: There is no need to cache the selected
* configuration since on success the configuration is
* send back as parameter of SetConfiguration.
*
*
* @param _capabilities
*/
byte[] SelectConfiguration(byte[] _capabilities);
/**
* From bluez documentation:
*
* Clear transport configuration.
*
*
* @param _transport
*/
void ClearConfiguration(DBusPath _transport);
/**
* From bluez documentation:
*
* This method gets called when the service daemon
* unregisters the endpoint. An endpoint can use it to do
* cleanup tasks. There is no need to unregister the
* endpoint, because when this method gets called it has
* already been unregistered.
*
*
*/
void Release();
}