Ring Daemon 16.0.0
Loading...
Searching...
No Matches
libjami::DataTransferInfo Struct Reference

#include <datatransfer_interface.h>

Collaboration diagram for libjami::DataTransferInfo:
Collaboration graph

Public Attributes

std::string accountId
 Identifier of the emiter/receiver account.
 
std::string author
 
int64_t bytesProgress {0}
 Number of bytes sent/received.
 
std::string conversationId
 
std::string displayName
 Human oriented transfer name.
 
uint32_t flags {0}
 Transfer global information.
 
DataTransferEventCode lastEvent
 Latest event code sent to the user.
 
std::string mimetype
 MimeType of transferred data (https://www.iana.org/assignments/media-types/media-types.xhtml)
 
std::string path
 associated local file path if supported (empty, if not)
 
std::string peer
 Identifier of the remote peer (in the semantic of the associated account)
 
int64_t totalSize {0}
 Total number of bytes to sent/receive, 0 if not known.
 

Detailed Description

Definition at line 65 of file datatransfer_interface.h.

Member Data Documentation

◆ accountId

std::string libjami::DataTransferInfo::accountId

Identifier of the emiter/receiver account.

Definition at line 67 of file datatransfer_interface.h.

Referenced by jami::OutgoingFile::cancel(), jami::FileInfo::emit(), and jami::TransferManager::transferFile().

◆ author

std::string libjami::DataTransferInfo::author

Definition at line 73 of file datatransfer_interface.h.

◆ bytesProgress

int64_t libjami::DataTransferInfo::bytesProgress {0}

Number of bytes sent/received.

Definition at line 72 of file datatransfer_interface.h.

◆ conversationId

std::string libjami::DataTransferInfo::conversationId

Definition at line 75 of file datatransfer_interface.h.

Referenced by jami::OutgoingFile::cancel(), and jami::FileInfo::emit().

◆ displayName

std::string libjami::DataTransferInfo::displayName

Human oriented transfer name.

Definition at line 76 of file datatransfer_interface.h.

◆ flags

uint32_t libjami::DataTransferInfo::flags {0}

Transfer global information.

Definition at line 70 of file datatransfer_interface.h.

◆ lastEvent

DataTransferEventCode libjami::DataTransferInfo::lastEvent
Initial value:
{
DataTransferEventCode::invalid}

Latest event code sent to the user.

Definition at line 68 of file datatransfer_interface.h.

◆ mimetype

std::string libjami::DataTransferInfo::mimetype

MimeType of transferred data (https://www.iana.org/assignments/media-types/media-types.xhtml)

Definition at line 78 of file datatransfer_interface.h.

◆ path

std::string libjami::DataTransferInfo::path

associated local file path if supported (empty, if not)

Definition at line 77 of file datatransfer_interface.h.

Referenced by jami::OutgoingFile::OutgoingFile().

◆ peer

std::string libjami::DataTransferInfo::peer

Identifier of the remote peer (in the semantic of the associated account)

Definition at line 74 of file datatransfer_interface.h.

◆ totalSize

int64_t libjami::DataTransferInfo::totalSize {0}

Total number of bytes to sent/receive, 0 if not known.

Definition at line 71 of file datatransfer_interface.h.


The documentation for this struct was generated from the following file: