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: