Commit e6c7666a authored by Guillaume Roguez's avatar Guillaume Roguez Committed by Olivier SOLDANO

datatransfer: add bytes progress DBus API

Add ConfigurationManager::dataTransferBytesSent() DBus method access.

Change-Id: I74fc22f42faeb5c352059831150b6c8b7e813fd8
Reviewed-by: default avatarOlivier Soldano <>
parent 25fcfd5b
......@@ -1419,6 +1419,14 @@
<method name="dataTransferBytesSent" tp:name-for-bindings="dataTransferBytesSent">
<tp:added version="4.2.0"/>
<arg type="t" name="BytesProgress" direction="out">
<arg type="t" name="DataTransferId" direction="in">
<signal name="mediaParametersChanged" tp:name-for-bindings="mediaParametersChanged">
<tp:added version="2.3.0"/>
......@@ -634,3 +634,9 @@ DBusConfigurationManager::dataTransferInfo(const DRing::DataTransferId& id)
out._6 = info.path;
return out;
DBusConfigurationManager::dataTransferBytesSent(const uint64_t& id)
return DRing::dataTransferBytesSent(id);;
......@@ -156,6 +156,7 @@ class DBusConfigurationManager :
DRing::DataTransferId sendFile(const std::string& account_id, const std::string& peer_uri,
const std::string& file_path, const std::string& display_name);
DBus::Struct<bool, uint32_t, uint64_t, uint64_t, std::string, std::string> dataTransferInfo(const DRing::DataTransferId& id);
uint64_t dataTransferBytesSent(const uint64_t& id);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment