Android
androidJvm
duckchat-api
/
com.duckduckgo.duckchat.api.viewmodel
/
DuckChatSharedViewModel
Duck
Chat
Shared
View
Model
class
DuckChatSharedViewModel
:
ViewModel
Members
Constructors
Duck
Chat
Shared
View
Model
Link copied to clipboard
constructor
(
)
Types
Command
Link copied to clipboard
sealed
class
Command
Properties
command
Link copied to clipboard
val
command
:
Flow
<
DuckChatSharedViewModel.Command
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
on
Fire
Button
Clicked
Link copied to clipboard
fun
onFireButtonClicked
(
)
on
Search
Requested
Link copied to clipboard
fun
onSearchRequested
(
query
:
String
)
on
Tab
Switcher
Clicked
Link copied to clipboard
fun
onTabSwitcherClicked
(
)
open
Existing
Tab
Link copied to clipboard
fun
openExistingTab
(
tabId
:
String
)