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

org.bluez.obex.Transfer1 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.

The newest version!
package org.bluez.obex;

import org.bluez.exceptions.*;
import org.freedesktop.dbus.interfaces.DBusInterface;

/**
 * File generated - 2023-02-20.
* Based on bluez Documentation: obex-api.txt.
*
* Service: org.bluez.obex
* Interface: org.bluez.obex.Transfer1
*
* Object path:
* [Session object path]/transfer{0, 1, 2, ...}
*
* Supported properties:
*
* string Status [readonly]
*
* Inform the current status of the transfer.
*
* Possible values: "queued", "active", "suspended",
* "complete" or "error"
*
* object Session [readonly]
*
* The object path of the session the transfer belongs
* to.
*
* string Name [readonly]
*
* Name of the transferred object. Either Name or Type
* or both will be present.
*
* string Type [readonly]
*
* Type of the transferred object. Either Name or Type
* or both will be present.
*
* uint64 Time [readonly, optional]
*
* Time of the transferred object if this is
* provided by the remote party.
*
* uint64 Size [readonly, optional]
*
* Size of the transferred object. If the size is
* unknown, then this property will not be present.
*
* uint64 Transferred [readonly, optional]
*
* Number of bytes transferred. For queued transfers, this
* value will not be present.
*
* string Filename [readonly, optional]
*
* Complete name of the file being received or sent.
*
* For incoming object push transaction, this will be
* the proposed default location and name. It can be
* overwritten by the AuthorizePush agent callback
* and will be then updated accordingly.
*
*
*
*/ public interface Transfer1 extends DBusInterface { /** * From bluez documentation:
*
* Stops the current transference.
*
* * @throws BluezNotAuthorizedException when not authorized * @throws BluezInProgressException when operation already in progress * @throws BluezFailedException on failure */ void Cancel() throws BluezNotAuthorizedException, BluezInProgressException, BluezFailedException; /** * From bluez documentation:
*
* Suspend transference.
*
* * @throws BluezNotAuthorizedException when not authorized * @throws BluezNotInProgressException on BluezNotInProgressException */ void Suspend() throws BluezNotAuthorizedException, BluezNotInProgressException; /** * From bluez documentation:
*
* Resume transference.
*
* * @throws BluezNotAuthorizedException when not authorized * @throws BluezNotInProgressException on BluezNotInProgressException */ void Resume() throws BluezNotAuthorizedException, BluezNotInProgressException; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy