public static interface LinphoneChatMessage.LinphoneChatMessageListener
Modifier and Type | Method and Description |
---|---|
void |
onLinphoneChatMessageFileTransferProgressChanged(LinphoneChatMessage msg,
LinphoneContent content,
int offset,
int total)
File transfer progress indication callback prototype.
|
void |
onLinphoneChatMessageFileTransferReceived(LinphoneChatMessage msg,
LinphoneContent content,
LinphoneBuffer buffer)
This function is called by the core upon an incoming File transfer is started.
|
void |
onLinphoneChatMessageFileTransferSent(LinphoneChatMessage msg,
LinphoneContent content,
int offset,
int size,
LinphoneBuffer bufferToFill)
This function is called by the core when an outgoing file transfer is started.
|
void |
onLinphoneChatMessageStateChanged(LinphoneChatMessage msg,
LinphoneChatMessage.State state) |
void onLinphoneChatMessageStateChanged(LinphoneChatMessage msg, LinphoneChatMessage.State state)
void onLinphoneChatMessageFileTransferReceived(LinphoneChatMessage msg, LinphoneContent content, LinphoneBuffer buffer)
content
- incoming content informationbuffer
- holding the received data. Empty buffer means end of file.void onLinphoneChatMessageFileTransferSent(LinphoneChatMessage msg, LinphoneContent content, int offset, int size, LinphoneBuffer bufferToFill)
content
- incoming content informationoffset
- the offset in the file from where to get the data to be sentsize
- the number of bytes expected by the frameworkbufferToFill
- A LinphoneBuffer object holding the data written by the application. An empty buffer means end of file.void onLinphoneChatMessageFileTransferProgressChanged(LinphoneChatMessage msg, LinphoneContent content, int offset, int total)
content
- incoming content informationoffset
- The number of bytes sent/received since the beginning of the transfer.total
- The total number of bytes to be sent/received.