toggle menu
Cloudstream
cloudstream
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.ui.search
/
SearchViewModel
Search
View
Model
class
SearchViewModel
:
ViewModel
(
source
)
Members
Constructors
Search
View
Model
Link copied to clipboard
constructor
(
)
Properties
current
History
Link copied to clipboard
val
currentHistory
:
<Error class: unknown class>
<
List
<
SearchHistoryItem
>
>
current
Search
Link copied to clipboard
val
currentSearch
:
<Error class: unknown class>
<
List
<
OnGoingSearch
>
>
search
Response
Link copied to clipboard
val
searchResponse
:
<Error class: unknown class>
<
Resource
<
List
<
SearchResponse
>
>
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
clear
Search
Link copied to clipboard
fun
clearSearch
(
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
reload
Repos
Link copied to clipboard
fun
reloadRepos
(
)
search
And
Cancel
Link copied to clipboard
fun
searchAndCancel
(
query
:
String
,
providersActive
:
Set
<
String
>
=
setOf()
,
ignoreSettings
:
Boolean
=
false
,
isQuickSearch
:
Boolean
=
false
)
update
History
Link copied to clipboard
fun
updateHistory
(
)
:
Job