Package io.rong.imlib.model
Class DownloadInfo.SliceInfo
-
- All Implemented Interfaces:
public class DownloadInfo.SliceInfo
-
-
Field Summary
Fields Modifier and Type Field Description public int
partNumber
public int
proportion
public long
maxLength
public long
currentLength
public long
startRange
public long
endRange
public String
slicePath
public String
infoPath
public String
tag
public Map<String, String>
header
public final static Creator<SliceInfo>
CREATOR
-
Constructor Summary
Constructors Constructor Description DownloadInfo.SliceInfo()
-
Method Summary
Modifier and Type Method Description int
getPartNumber()
void
setPartNumber(int partNumber)
int
getProportion()
void
setProportion(int proportion)
long
getMaxLength()
void
setMaxLength(long maxLength)
long
getCurrentLength()
void
setCurrentLength(long currentLength)
long
getStartRange()
void
setStartRange(long startRange)
long
getEndRange()
void
setEndRange(long endRange)
String
getSlicePath()
void
setSlicePath(String slicePath)
String
getInfoPath()
void
setInfoPath(String infoPath)
String
getTag()
void
setTag(String tag)
Map<String, String>
getHeader()
void
setHeader(Map<String, String> header)
void
writeToParcel(Parcel dest, int flags)
int
describeContents()
boolean
isFinish()
int
getCurrentProportion()
long
getCurrentRange()
String
getSavePath()
String
getDownloadUrl()
long
getFileLength()
void
setUrl(String url)
-
-
Method Detail
-
getPartNumber
int getPartNumber()
-
setPartNumber
void setPartNumber(int partNumber)
-
getProportion
int getProportion()
-
setProportion
void setProportion(int proportion)
-
getMaxLength
long getMaxLength()
-
setMaxLength
void setMaxLength(long maxLength)
-
getCurrentLength
long getCurrentLength()
-
setCurrentLength
void setCurrentLength(long currentLength)
-
getStartRange
long getStartRange()
-
setStartRange
void setStartRange(long startRange)
-
getEndRange
long getEndRange()
-
setEndRange
void setEndRange(long endRange)
-
getSlicePath
String getSlicePath()
-
setSlicePath
void setSlicePath(String slicePath)
-
getInfoPath
String getInfoPath()
-
setInfoPath
void setInfoPath(String infoPath)
-
getTag
String getTag()
-
setTag
void setTag(String tag)
-
getHeader
Map<String, String> getHeader()
-
setHeader
void setHeader(Map<String, String> header)
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
describeContents
int describeContents()
-
isFinish
boolean isFinish()
-
getCurrentProportion
int getCurrentProportion()
-
getCurrentRange
long getCurrentRange()
-
getSavePath
String getSavePath()
-
getDownloadUrl
String getDownloadUrl()
-
getFileLength
long getFileLength()
-
setUrl
void setUrl(String url)
-
-
-
-