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

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

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

import org.freedesktop.dbus.interfaces.DBusInterface;
import org.bluez.exceptions.BluezFailedException;
import org.bluez.exceptions.BluezInProgressException;
import org.bluez.exceptions.BluezNotAuthorizedException;
import org.bluez.exceptions.BluezNotInProgressException;

/**
 * File generated - 2020-06-18.
* 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 - 2024 Weber Informatics LLC | Privacy Policy