Delegate ChatMessageListener.OnFileTransferSendChunkDelegate
File transfer send callback prototype.
This function is called by the core when an outgoing file transfer is started. This function is called until size is set to 0.
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public delegate void OnFileTransferSendChunkDelegate(ChatMessage message, Content content, long offset, long size, Buffer buffer);
Parameters
Type | Name | Description |
---|---|---|
ChatMessage | message | ChatMessage message from which the body is received. |
Content | content | Content outgoing content |
System.Int64 | offset | the offset in the file from where to get the data to be sent |
System.Int64 | size | the number of bytes expected by the framework |
Buffer | buffer | A Buffer to be filled. Leave it empty when end of file has been reached. |