org.bluez.obex.SynchronizationπŸ”—

BlueZ D-Bus OBEX Synchronization API documentationπŸ”—

Version:

BlueZ

Date:

October 2023

Manual section:

5

Manual group:

Linux System Administration

InterfaceπŸ”—

Service:

org.bluez.obex

Interface:

org.bluez.obex.Synchronization1

Object path:

[Session object path]

MethodsπŸ”—

void SetLocation(string location)πŸ”—

Sets the phonebook object store location for other operations. Should be called before all the other operations.

Possible location:

β€œint” ( β€œinternal” which is default ):

Store in the interval memory.

β€œsim{#}”:

Store in sim card number #.

Possible errors:

org.bluez.obex.Error.InvalidArguments:

object, dict GetPhonebook(string targetfile)πŸ”—

Retrieves an entire Phonebook Object store from remote device, and stores 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, see org.bluez.obex.Transfer(5) for the possible list of properties.

Possible errors:

org.bluez.obex.Error.InvalidArguments:

org.bluez.obex.Error.Failed:

object, dict PutPhonebook(string sourcefile)πŸ”—

Sends an entire Phonebook Object store to 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, see org.bluez.obex.Transfer(5) for the possible list of properties.

Possible errors:

org.bluez.obex.Error.InvalidArguments:

org.bluez.obex.Error.Failed: