toggle menu
Cloudstream
cloudstream
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.ui.download
/
DownloadViewModel
Download
View
Model
class
DownloadViewModel
:
ViewModel
(
source
)
Members
Constructors
Download
View
Model
Link copied to clipboard
constructor
(
)
Properties
available
Bytes
Link copied to clipboard
val
availableBytes
:
<Error class: unknown class>
<
Long
>
child
Cards
Link copied to clipboard
val
childCards
:
<Error class: unknown class>
<
List
<
VisualDownloadCached.Child
>
>
download
Bytes
Link copied to clipboard
val
downloadBytes
:
<Error class: unknown class>
<
Long
>
header
Cards
Link copied to clipboard
val
headerCards
:
<Error class: unknown class>
<
List
<
VisualDownloadCached.Header
>
>
is
Multi
Delete
State
Link copied to clipboard
val
isMultiDeleteState
:
<Error class: unknown class>
<
Boolean
>
selected
Bytes
Link copied to clipboard
val
selectedBytes
:
<Error class: unknown class>
<
Long
>
selected
Item
Ids
Link copied to clipboard
val
selectedItemIds
:
<Error class: unknown class>
<
MutableSet
<
Int
>
>
used
Bytes
Link copied to clipboard
val
usedBytes
:
<Error class: unknown class>
<
Long
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
add
Selected
Link copied to clipboard
fun
addSelected
(
itemId
:
Int
)
clear
Selected
Items
Link copied to clipboard
fun
clearSelectedItems
(
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
handle
Multi
Delete
Link copied to clipboard
fun
handleMultiDelete
(
context
:
Context
)
:
Job
handle
Single
Delete
Link copied to clipboard
fun
handleSingleDelete
(
context
:
Context
,
itemId
:
Int
)
:
Job
is
All
Selected
Link copied to clipboard
fun
isAllSelected
(
)
:
Boolean
remove
Selected
Link copied to clipboard
fun
removeSelected
(
itemId
:
Int
)
select
All
Items
Link copied to clipboard
fun
selectAllItems
(
)
set
Is
Multi
Delete
State
Link copied to clipboard
fun
setIsMultiDeleteState
(
value
:
Boolean
)
update
Child
List
Link copied to clipboard
fun
updateChildList
(
context
:
Context
,
folder
:
String
)
:
Job
update
Header
List
Link copied to clipboard
fun
updateHeaderList
(
context
:
Context
)
:
Job