Interface FileTransfer

All Superinterfaces:
org.freedesktop.dbus.interfaces.DBusInterface

public interface FileTransfer extends 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.FileTransfer

Object path:
[Session object path]

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    From bluez documentation:

    Change the current folder of the remote device.

    void
    CopyFile(String _sourcefile, String _targetfile)
    From bluez documentation:

    Copy a file within the remote device from source file
    to target file.

    void
    From bluez documentation:

    Create a new folder in the remote device.

    void
    Delete(String _file)
    From bluez documentation:

    Deletes the specified file/folder.

    TwoTuple<org.freedesktop.dbus.DBusPath,Map<String,org.freedesktop.dbus.types.Variant<?>>>
    GetFile(String _targetfile, String _sourcefile)
    From bluez documentation:

    Copy the source file (from remote device) to the
    target file (on local filesystem).

    If an empty target file is given, a name will be
    automatically calculated for the temporary file.

    The returned path represents the newly created transfer,
    which should be used to find out if the content has been
    successfully transferred or if the operation fails.

    The properties of this transfer are also returned along
    with the object path, to avoid a call to GetProperties.

    Map<String,org.freedesktop.dbus.types.Variant<?>>[]
    From bluez documentation:

    Returns a dictionary containing information about
    the current folder content.

    The following keys are defined:

    string Name : Object name in UTF-8 format
    string Type : Either "folder" or "file"
    uint64 Size : Object size or number of items in
    folder
    string Permission : Group, owner and other
    permission
    uint64 Modified : Last change
    uint64 Accessed : Last access
    uint64 Created : Creation date

    void
    MoveFile(String _sourcefile, String _targetfile)
    From bluez documentation:

    Move a file within the remote device from source file
    to the target file.

    TwoTuple<org.freedesktop.dbus.DBusPath,Map<String,org.freedesktop.dbus.types.Variant<?>>>
    PutFile(String _sourcefile, String _targetfile)
    From bluez documentation:

    Copy the source file (from local filesystem) to the
    target file (on remote device).

    The returned path represents the newly created transfer,
    which should be used to find out if the content has been
    successfully transferred or if the operation fails.

    The properties of this transfer are also returned along
    with the object path, to avoid a call to GetProperties.

    Methods inherited from interface org.freedesktop.dbus.interfaces.DBusInterface

    getObjectPath, isRemote