Package org.bluez.obex
Interface ObjectPush1
-
- All Superinterfaces:
org.freedesktop.dbus.interfaces.DBusInterface
public interface ObjectPush1 extends org.freedesktop.dbus.interfaces.DBusInterface
File generated - 2020-06-18.
Based on bluez Documentation: obex-api.txt.
Service: org.bluez.obex
Interface: org.bluez.obex.ObjectPush1
Object path:
[Session object path]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TwoTuple<org.freedesktop.dbus.DBusPath,Map<String,org.freedesktop.dbus.types.Variant<?>>>
ExchangeBusinessCards(String _clientfile, String _targetfile)
From bluez documentation:
Push the client's business card to the remote device
and then retrieve the remote business card and store
it in a local file.
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.
TwoTuple<org.freedesktop.dbus.DBusPath,Map<String,org.freedesktop.dbus.types.Variant<?>>>
PullBusinessCard(String _targetfile)
From bluez documentation:
Request the business card from a remote device and
store it in the local file.
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.
TwoTuple<org.freedesktop.dbus.DBusPath,Map<String,org.freedesktop.dbus.types.Variant<?>>>
SendFile(String _sourcefile)
From bluez documentation:
Send one local file to the 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.
-
-
-
Method Detail
-
SendFile
TwoTuple<org.freedesktop.dbus.DBusPath,Map<String,org.freedesktop.dbus.types.Variant<?>>> SendFile(String _sourcefile) throws BluezInvalidArgumentsException, BluezFailedException
From bluez documentation:
Send one local file to the 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.
- Parameters:
_sourcefile
- sourcefile- Returns:
- TwoTuple<DBusPath, Map<String,Variant<?>>> - maybe null
- Throws:
BluezInvalidArgumentsException
- when argument is invalidBluezFailedException
- on failure
-
PullBusinessCard
TwoTuple<org.freedesktop.dbus.DBusPath,Map<String,org.freedesktop.dbus.types.Variant<?>>> PullBusinessCard(String _targetfile) throws BluezInvalidArgumentsException, BluezFailedException
From bluez documentation:
Request the business card from a remote device and
store it in the local file.
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.
- Parameters:
_targetfile
- targetfile- Returns:
- TwoTuple<DBusPath, Map<String,Variant<?>>> - maybe null
- Throws:
BluezInvalidArgumentsException
- when argument is invalidBluezFailedException
- on failure
-
ExchangeBusinessCards
TwoTuple<org.freedesktop.dbus.DBusPath,Map<String,org.freedesktop.dbus.types.Variant<?>>> ExchangeBusinessCards(String _clientfile, String _targetfile) throws BluezInvalidArgumentsException, BluezFailedException
From bluez documentation:
Push the client's business card to the remote device
and then retrieve the remote business card and store
it in a local file.
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.
- Parameters:
_clientfile
- clientfile_targetfile
- targetfile- Returns:
- TwoTuple<DBusPath, Map<String,Variant<?>>> - maybe null
- Throws:
BluezInvalidArgumentsException
- when argument is invalidBluezFailedException
- on failure
-
-