public class DownloadJob
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static int |
CANCELLED |
static int |
COMPLETE |
static int |
CONNECTING |
static android.os.Parcelable.Creator<DownloadJob> |
CREATOR |
static int |
DOWNLOADING |
static int |
ERROR |
Constructor and Description |
---|
DownloadJob(android.os.Parcel source) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.sql.Date |
getCompletedTime() |
int |
getCurrentStatus() |
java.lang.String |
getDestination() |
long |
getId() |
java.sql.Date |
getLastStatusUpdate() |
java.lang.String |
getName() |
java.lang.String |
getSource() |
java.sql.Date |
getStartTime() |
void |
setCompletedTime(java.sql.Date completedTime) |
void |
setCurrentStatus(int currentStatus) |
void |
setDestination(java.lang.String destination) |
protected void |
setId(long id) |
void |
setLastStatusUpdate(java.sql.Date lastStatusUpdate) |
void |
setName(java.lang.String name) |
void |
setSource(java.lang.String source) |
void |
setStartTime(java.sql.Date startTime) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final int CONNECTING
public static final int DOWNLOADING
public static final int COMPLETE
public static final int CANCELLED
public static final int ERROR
public static final android.os.Parcelable.Creator<DownloadJob> CREATOR
public long getId()
protected void setId(long id)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.sql.Date getStartTime()
public void setStartTime(java.sql.Date startTime)
public java.sql.Date getCompletedTime()
public void setCompletedTime(java.sql.Date completedTime)
public java.sql.Date getLastStatusUpdate()
public void setLastStatusUpdate(java.sql.Date lastStatusUpdate)
public java.lang.String getSource()
public void setSource(java.lang.String source)
public java.lang.String getDestination()
public void setDestination(java.lang.String destination)
public int getCurrentStatus()
public void setCurrentStatus(int currentStatus)
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable