All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bluez.obex.Client1 Maven / Gradle / Ivy

Go to download

Java native bluetooth library which uses bluez via dbus (linux only). This is the OSGi compliant bundle of all required libraries in one bundle.

There is a newer version: 0.3.0
Show newest version
package org.bluez.obex;

import org.freedesktop.dbus.interfaces.DBusInterface;
import java.util.Map;
import org.bluez.exceptions.BluezFailedException;
import org.bluez.exceptions.BluezInvalidArgumentsException;
import org.bluez.exceptions.BluezNotAuthorizedException;
import org.freedesktop.dbus.DBusPath;
import org.freedesktop.dbus.types.Variant;

/**
 * File generated - 2020-06-18.
* Based on bluez Documentation: obex-api.txt.
*
* Service: org.bluez.obex
* Interface: org.bluez.obex.Client1
*
* Object path:
* /org/bluez/obex
*
*/ public interface Client1 extends DBusInterface { /** * From bluez documentation:
*
* Create a new OBEX session for the given remote address.
*
* The last parameter is a dictionary to hold optional or
* type-specific parameters. Typical parameters that can
* be set in this dictionary include the following:
*
* string "Target" : type of session to be created
* string "Source" : local address to be used
* byte "Channel"
*
* The currently supported targets are the following:
*
* "ftp"
* "map"
* "opp"
* "pbap"
* "sync"
*
* * @param _destination destination * @param _args args * * @return DBusPath - maybe null * * @throws BluezInvalidArgumentsException when argument is invalid * @throws BluezFailedException on failure */ DBusPath CreateSession(String _destination, Map> _args) throws BluezInvalidArgumentsException, BluezFailedException; /** * From bluez documentation:
*
* Unregister session and abort pending transfers.
*
* * @param _session session * * @throws BluezInvalidArgumentsException when argument is invalid * @throws BluezNotAuthorizedException when not authorized */ void RemoveSession(DBusPath _session) throws BluezInvalidArgumentsException, BluezNotAuthorizedException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy