public class OutboundFileTransfer extends FileTransfer
FileTransfer.FailureReason, FileTransfer.Status| Constructor and Description |
|---|
OutboundFileTransfer(String fileId,
File file,
ContentType contentType,
JID to) |
OutboundFileTransfer(String fileId,
File file,
ContentType contentType,
JID to,
Callback<String,FileTransfer.FailureReason> callback) |
| Modifier and Type | Method and Description |
|---|---|
Callback<String,FileTransfer.FailureReason> |
getCallback() |
File |
getFile() |
JID |
getTo() |
getContentType, getCreateTime, getFileId, setContentType, setFileIdpublic OutboundFileTransfer(String fileId, File file, ContentType contentType, JID to)
public OutboundFileTransfer(String fileId, File file, ContentType contentType, JID to, Callback<String,FileTransfer.FailureReason> callback)
public JID getTo()
public File getFile()
public Callback<String,FileTransfer.FailureReason> getCallback()
Copyright © 2019. All rights reserved.