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 | LinphoneChatMessage message from which the body is received. |
Content | content | LinphoneContent 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 LinphoneBuffer to be filled. Leave it empty when end of file has been reached. |