public class FileTransferRequest extends RetryRequest
RetryRequest.OperationDelay
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<FileTransferRequest> |
CREATOR |
Modifier | Constructor and Description |
---|---|
|
FileTransferRequest(FileTransfer fileTransfer,
int retryCount,
int notificationId)
ctor
|
|
FileTransferRequest(FileTransfer fileTransfer,
int retryCount,
int notificationId,
long connectionTimeoutMS,
long transferTimeoutMS) |
protected |
FileTransferRequest(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
Request |
createFileTransferDownloadRequest()
Create the request to download the shared file.
|
int |
describeContents() |
long |
getConnectionTimeoutMS() |
FileTransfer |
getFileTransfer() |
long |
getTransferTimeoutMS() |
boolean |
isValid() |
void |
setConnectionTimeoutMS(int timeoutMS) |
void |
setTransferTimeoutMS(int timeoutMS) |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getDelay, getNotificationId, getRetryCount, setRetryCount
public static final android.os.Parcelable.Creator<FileTransferRequest> CREATOR
public FileTransferRequest(FileTransfer fileTransfer, int retryCount, int notificationId)
fileTransfer
- retryCount
- notificationId
- public FileTransferRequest(FileTransfer fileTransfer, int retryCount, int notificationId, long connectionTimeoutMS, long transferTimeoutMS)
protected FileTransferRequest(android.os.Parcel in)
public boolean isValid()
isValid
in class RetryRequest
public FileTransfer getFileTransfer()
public long getTransferTimeoutMS()
public void setTransferTimeoutMS(int timeoutMS)
public long getConnectionTimeoutMS()
public void setConnectionTimeoutMS(int timeoutMS)
public java.lang.String toString()
toString
in class RetryRequest
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class RetryRequest
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class RetryRequest
public Request createFileTransferDownloadRequest()