public abstract class FileTransfer extends Object
FileTransfer represents a transfer request received on
Client.| Modifier and Type | Class and Description |
|---|---|
static class |
FileTransfer.FailureReason
File transfer may fail due to various reasons.
|
static class |
FileTransfer.Status
Enum to indicate file transfer status.
|
| Constructor and Description |
|---|
FileTransfer(String fileId) |
FileTransfer(String fileId,
ContentType contentType) |
| Modifier and Type | Method and Description |
|---|---|
ContentType |
getContentType() |
long |
getCreateTime() |
String |
getFileId() |
void |
setContentType(ContentType contentType) |
void |
setFileId(String fileId) |
public FileTransfer(String fileId)
public FileTransfer(String fileId, ContentType contentType)
public String getFileId()
public void setFileId(String fileId)
public ContentType getContentType()
public void setContentType(ContentType contentType)
public long getCreateTime()
Copyright © 2019. All rights reserved.