Package io.rong.imlib.model
Class DownloadInfo
-
- All Implemented Interfaces:
public class DownloadInfo
/~english
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
DownloadInfo.SliceInfo
-
Field Summary
Fields Modifier and Type Field Description public String
tag
public String
filePath
public String
infoPath
public String
url
public long
length
public boolean
isDownLoading
public List<DownloadInfo.SliceInfo>
sliceInfoList
public List<String>
sliceInfoPathList
public final static Creator<DownloadInfo>
CREATOR
-
Constructor Summary
Constructors Constructor Description DownloadInfo()
DownloadInfo(String filePath, String url, String tag)
-
Method Summary
Modifier and Type Method Description String
getTag()
void
setTag(String tag)
String
getFilePath()
/~english void
setFilePath(String filePath)
/~english String
getInfoPath()
void
setInfoPath(String infoPath)
String
getUrl()
/~english void
setUrl(String url)
/~english long
getLength()
/~english void
setLength(long length)
/~english boolean
isDownLoading()
/~english void
setDownLoading(boolean downLoading)
/~english List<DownloadInfo.SliceInfo>
getSliceInfoList()
List<String>
getSliceInfoPathList()
void
writeToParcel(Parcel dest, int flags)
int
describeContents()
void
addSliceInfo(DownloadInfo.SliceInfo info)
void
addSliceInfoPath(String infoPath)
boolean
isFinished()
/~english long
currentFileLength()
int
currentProgress()
-
-
Method Detail
-
getTag
String getTag()
-
setTag
void setTag(String tag)
-
getFilePath
String getFilePath()
/~english
-
setFilePath
void setFilePath(String filePath)
/~english
-
getInfoPath
String getInfoPath()
-
setInfoPath
void setInfoPath(String infoPath)
-
getUrl
String getUrl()
/~english
-
setUrl
void setUrl(String url)
/~english
-
getLength
long getLength()
/~english
-
setLength
void setLength(long length)
/~english
-
isDownLoading
boolean isDownLoading()
/~english
-
setDownLoading
void setDownLoading(boolean downLoading)
/~english
-
getSliceInfoList
List<DownloadInfo.SliceInfo> getSliceInfoList()
-
getSliceInfoPathList
List<String> getSliceInfoPathList()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
describeContents
int describeContents()
-
addSliceInfo
void addSliceInfo(DownloadInfo.SliceInfo info)
-
addSliceInfoPath
void addSliceInfoPath(String infoPath)
-
isFinished
boolean isFinished()
/~english
-
currentFileLength
long currentFileLength()
-
currentProgress
int currentProgress()
-
-
-
-