public final class UploadTaskParameters extends Object implements Parcelable
Parcelable and
define a constant string which indicates the key used to store the serialized form of the class
into the intent. Look at HttpUploadTaskParameters for an example.Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<UploadTaskParameters> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
UploadTaskParameters() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(UploadFile file) |
int |
describeContents() |
List<UploadFile> |
getFiles() |
String |
getId() |
int |
getMaxRetries() |
UploadNotificationConfig |
getNotificationConfig() |
String |
getServerUrl() |
boolean |
isAutoDeleteSuccessfullyUploadedFiles() |
UploadTaskParameters |
setAutoDeleteSuccessfullyUploadedFiles(boolean autoDeleteSuccessfullyUploadedFiles) |
UploadTaskParameters |
setId(String id) |
UploadTaskParameters |
setMaxRetries(int maxRetries) |
UploadTaskParameters |
setNotificationConfig(UploadNotificationConfig notificationConfig) |
UploadTaskParameters |
setServerUrl(String url) |
void |
writeToParcel(Parcel parcel,
int arg1) |
public static final Parcelable.Creator<UploadTaskParameters> CREATOR
public void writeToParcel(Parcel parcel, int arg1)
writeToParcel in interface Parcelablepublic int describeContents()
describeContents in interface Parcelablepublic void addFile(UploadFile file) throws FileNotFoundException
FileNotFoundExceptionpublic List<UploadFile> getFiles()
public UploadNotificationConfig getNotificationConfig()
public UploadTaskParameters setNotificationConfig(UploadNotificationConfig notificationConfig)
public String getId()
public UploadTaskParameters setId(String id)
public String getServerUrl()
public UploadTaskParameters setServerUrl(String url)
public int getMaxRetries()
public UploadTaskParameters setMaxRetries(int maxRetries)
public boolean isAutoDeleteSuccessfullyUploadedFiles()
public UploadTaskParameters setAutoDeleteSuccessfullyUploadedFiles(boolean autoDeleteSuccessfullyUploadedFiles)