public interface IncomingFileTransferRequest
Modifier and Type | Method and Description |
---|---|
FileTransfer |
acceptFile(java.io.File file)
Function called to accept and receive the file.
|
java.lang.String |
getFileDescription()
Returns a String that represents the description of the file that is
being received.
|
java.lang.String |
getFileName()
Returns a String that represents the name of the file that is being
received.
|
long |
getFileSize()
Returns a long that represents the size of the file that is being
received.
|
java.lang.String |
getID()
Uniquie ID that is identifying the request and then the FileTransfer
if the request has been accepted.
|
Contact |
getSender()
Returns a String that represents the name of the sender of the file
being received.
|
byte[] |
getThumbnail()
Returns the thumbnail contained in this request.
|
void |
rejectFile()
Function called to refuse the file.
|
java.lang.String getID()
java.lang.String getFileName()
java.lang.String getFileDescription()
long getFileSize()
Contact getSender()
FileTransfer acceptFile(java.io.File file)
file
- the file to acceptvoid rejectFile()
byte[] getThumbnail()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.