// Path: bluez-dbus/src/main/java/org/bluez/exceptions/BluezFailedException.java
// @SuppressWarnings("serial")
// public class BluezFailedException extends DBusException {
// 
//     public BluezFailedException(String _message) {
//         super(_message);
//     }
// 
// }
// 
// Path: bluez-dbus/src/main/java/org/bluez/exceptions/BluezInProgressException.java
// @SuppressWarnings("serial")
// public class BluezInProgressException extends DBusException {
// 
//     public BluezInProgressException(String _message) {
//         super(_message);
//     }
// 
// }
// 
// Path: bluez-dbus/src/main/java/org/bluez/exceptions/BluezNotAuthorizedException.java
// @SuppressWarnings("serial")
// public class BluezNotAuthorizedException extends DBusException {
// 
//     public BluezNotAuthorizedException(String _message) {
//         super(_message);
//     }
// 
// }
// 
// Path: bluez-dbus/src/main/java/org/bluez/exceptions/BluezNotInProgressException.java
// @SuppressWarnings("serial")
// public class BluezNotInProgressException extends DBusException {
// 
//     public BluezNotInProgressException(String _message) {
//         super(_message);
//     }
// 
// }


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


/**
 * File generated - 2020-06-18.<br>
 * Based on bluez Documentation: obex-api.txt.<br>
 * <br>
 * <b>Service:</b> org.bluez.obex<br>
 * <b>Interface:</b> org.bluez.obex.Transfer1<br>
 * <br>
 * <b>Object path:</b><br>
 *             [Session object path]/transfer{0, 1, 2, ...}<br>
 * <br>
 * <b>Supported properties:</b> <br>
 * <br>
 * 		string Status [readonly]<br>
 * <br>
 * 			Inform the current status of the transfer.<br>
 * <br>
 * 			Possible values: "queued", "active", "suspended",<br>
 * 					"complete" or "error"<br>
 * <br>
 * 		object Session [readonly]<br>
 * <br>
 * 			The object path of the session the transfer belongs<br>
 * 			to.<br>
 * <br>
 * 		string Name [readonly]<br>
 * <br>
 * 			Name of the transferred object. Either Name or Type<br>
 * 			or both will be present.<br>
 * <br>
 * 		string Type [readonly]<br>
 * <br>
 * 			Type of the transferred object. Either Name or Type<br>
 * 			or both will be present.<br>
 * <br>
 * 		uint64 Time [readonly, optional]<br>
 * <br>
 * 			Time of the transferred object if this is<br>
 * 			provided by the remote party.<br>
 * <br>
 * 		uint64 Size [readonly, optional]<br>
 * <br>
 * 			Size of the transferred object. If the size is<br>
 * 			unknown, then this property will not be present.<br>
 * <br>
 * 		uint64 Transferred [readonly, optional]<br>
 * <br>
 * 			Number of bytes transferred. For queued transfers, this<br>
 * 			value will not be present.<br>
 * <br>
 * 		string Filename [readonly, optional]<br>
 * <br>
 * 			Complete name of the file being received or sent.<br>
 * <br>
 * 			For incoming object push transaction, this will be<br>
 * 			the proposed default location and name. It can be<br>
 * 			overwritten by the AuthorizePush agent callback<br>
 * 			and will be then updated accordingly.<br>
 * <br>
 * <br>
 * <br>
 */
public interface Transfer1 extends DBusInterface {

    /**
     * <b>From bluez documentation:</b><br>
     * <br>
     * Stops the current transference.<br>
     * <br>
     * 
     * @throws BluezNotAuthorizedException when not authorized
     * @throws BluezInProgressException when operation already in progress
     * @throws BluezFailedException on failure
     */
    void Cancel() throws BluezNotAuthorizedException, BluezInProgressException, BluezFailedException;

    /**
     * <b>From bluez documentation:</b><br>
     * <br>
     * Suspend transference.<br>
     * <br>
     * 
     * @throws BluezNotAuthorizedException when not authorized
     * @throws BluezNotInProgressException on BluezNotInProgressException
     */
// Path: bluez-dbus/src/main/java/org/bluez/exceptions/BluezFailedException.java
// @SuppressWarnings("serial")
// public class BluezFailedException extends DBusException {
// 
//     public BluezFailedException(String _message) {
//         super(_message);
//     }
// 
// }
// 
// Path: bluez-dbus/src/main/java/org/bluez/exceptions/BluezInProgressException.java
// @SuppressWarnings("serial")
// public class BluezInProgressException extends DBusException {
// 
//     public BluezInProgressException(String _message) {
//         super(_message);
//     }
// 
// }
// 
// Path: bluez-dbus/src/main/java/org/bluez/exceptions/BluezNotAuthorizedException.java
// @SuppressWarnings("serial")
// public class BluezNotAuthorizedException extends DBusException {
// 
//     public BluezNotAuthorizedException(String _message) {
//         super(_message);
//     }
// 
// }
// 
// Path: bluez-dbus/src/main/java/org/bluez/exceptions/BluezNotInProgressException.java
// @SuppressWarnings("serial")
// public class BluezNotInProgressException extends DBusException {
// 
//     public BluezNotInProgressException(String _message) {
//         super(_message);
//     }
// 
// }


// Path: bluez-dbus/src/main/java/org/bluez/obex/Transfer1.java
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;

package org.bluez.obex;


/**
 * File generated - 2020-06-18.<br>
 * Based on bluez Documentation: obex-api.txt.<br>
 * <br>
 * <b>Service:</b> org.bluez.obex<br>
 * <b>Interface:</b> org.bluez.obex.Transfer1<br>
 * <br>
 * <b>Object path:</b><br>
 *             [Session object path]/transfer{0, 1, 2, ...}<br>
 * <br>
 * <b>Supported properties:</b> <br>
 * <br>
 * 		string Status [readonly]<br>
 * <br>
 * 			Inform the current status of the transfer.<br>
 * <br>
 * 			Possible values: "queued", "active", "suspended",<br>
 * 					"complete" or "error"<br>
 * <br>
 * 		object Session [readonly]<br>
 * <br>
 * 			The object path of the session the transfer belongs<br>
 * 			to.<br>
 * <br>
 * 		string Name [readonly]<br>
 * <br>
 * 			Name of the transferred object. Either Name or Type<br>
 * 			or both will be present.<br>
 * <br>
 * 		string Type [readonly]<br>
 * <br>
 * 			Type of the transferred object. Either Name or Type<br>
 * 			or both will be present.<br>
 * <br>
 * 		uint64 Time [readonly, optional]<br>
 * <br>
 * 			Time of the transferred object if this is<br>
 * 			provided by the remote party.<br>
 * <br>
 * 		uint64 Size [readonly, optional]<br>
 * <br>
 * 			Size of the transferred object. If the size is<br>
 * 			unknown, then this property will not be present.<br>
 * <br>
 * 		uint64 Transferred [readonly, optional]<br>
 * <br>
 * 			Number of bytes transferred. For queued transfers, this<br>
 * 			value will not be present.<br>
 * <br>
 * 		string Filename [readonly, optional]<br>
 * <br>
 * 			Complete name of the file being received or sent.<br>
 * <br>
 * 			For incoming object push transaction, this will be<br>
 * 			the proposed default location and name. It can be<br>
 * 			overwritten by the AuthorizePush agent callback<br>
 * 			and will be then updated accordingly.<br>
 * <br>
 * <br>
 * <br>
 */
public interface Transfer1 extends DBusInterface {

    /**
     * <b>From bluez documentation:</b><br>
     * <br>
     * Stops the current transference.<br>
     * <br>
     * 
     * @throws BluezNotAuthorizedException when not authorized
     * @throws BluezInProgressException when operation already in progress
     * @throws BluezFailedException on failure
     */
    void Cancel() throws BluezNotAuthorizedException, BluezInProgressException, BluezFailedException;

    /**
     * <b>From bluez documentation:</b><br>
     * <br>
     * Suspend transference.<br>
     * <br>
     * 
     * @throws BluezNotAuthorizedException when not authorized
     * @throws BluezNotInProgressException on BluezNotInProgressException
     */
    void Suspend() throws BluezNotAuthorizedException, BluezNotInProgressException;