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

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

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

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.interfaces.DBusInterface;
import org.freedesktop.dbus.types.Variant;

/**
 * File generated - 2018-07-25.
* 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 * @param _args * * @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 * * @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