toggle menu
Android-Vast-Extension
androidJvm
switch theme
search in API
tools
/
com.ave.vastgui.tools.utils.download
/
DLBean
DLBean
data
class
DLBean
(
val
url
:
String
,
val
file
:
File
,
val
md5
:
String
?
=
null
,
val
startPos
:
Long
?
=
null
,
val
endPos
:
Long
?
=
null
,
var
completeSize
:
Long
=
startPos ?: 0L
,
var
event
:
DLEvent
=
DLEvent.INIT
)
The download bean.
Since
0.5.2
Members
Constructors
DLBean
Link copied to clipboard
constructor
(
url
:
String
,
file
:
File
,
md5
:
String
?
=
null
,
startPos
:
Long
?
=
null
,
endPos
:
Long
?
=
null
,
completeSize
:
Long
=
startPos ?: 0L
,
event
:
DLEvent
=
DLEvent.INIT
)
Properties
complete
Size
Link copied to clipboard
var
completeSize
:
Long
end
Pos
Link copied to clipboard
val
endPos
:
Long
?
=
null
event
Link copied to clipboard
var
event
:
DLEvent
file
Link copied to clipboard
val
file
:
File
md5
Link copied to clipboard
val
md5
:
String
?
=
null
start
Pos
Link copied to clipboard
val
startPos
:
Long
?
=
null
url
Link copied to clipboard
val
url
:
String
The url of the download file.