Package org.bluez.obex
Interface Client1
- All Superinterfaces:
org.freedesktop.dbus.interfaces.DBusInterface
public interface Client1
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.Client1
Object path:
/org/bluez/obex
Based on bluez Documentation: obex-api.txt.
Service: org.bluez.obex
Interface: org.bluez.obex.Client1
Object path:
/org/bluez/obex
-
Method Summary
Modifier and TypeMethodDescriptionorg.freedesktop.dbus.DBusPathCreateSession(String _destination, Map<String, org.freedesktop.dbus.types.Variant<?>> _args) From bluez documentation:
Create a new OBEX session for the given remote address.
The last parameter is a dictionary to hold optional or
type-specific parameters.voidRemoveSession(org.freedesktop.dbus.DBusPath _session) From bluez documentation:
Unregister session and abort pending transfers.
Methods inherited from interface org.freedesktop.dbus.interfaces.DBusInterface
getObjectPath, isRemote
-
Method Details
-
CreateSession
org.freedesktop.dbus.DBusPath CreateSession(String _destination, Map<String, org.freedesktop.dbus.types.Variant<?>> _args) throws BluezInvalidArgumentsException, BluezFailedExceptionFrom bluez documentation:
Create a new OBEX session for the given remote address.
The last parameter is a dictionary to hold optional or
type-specific parameters. Typical parameters that can
be set in this dictionary include the following:
string "Target" : type of session to be created
string "Source" : local address to be used
byte "Channel"
The currently supported targets are the following:
"ftp"
"map"
"opp"
"pbap"
"sync"
- Parameters:
_destination- destination_args- args- Returns:
- DBusPath - maybe null
- Throws:
BluezInvalidArgumentsException- when argument is invalidBluezFailedException- on failure
-
RemoveSession
void RemoveSession(org.freedesktop.dbus.DBusPath _session) throws BluezInvalidArgumentsException, BluezNotAuthorizedException From bluez documentation:
Unregister session and abort pending transfers.
- Parameters:
_session- session- Throws:
BluezInvalidArgumentsException- when argument is invalidBluezNotAuthorizedException- when not authorized
-