ChatViewModel

class ChatViewModel @Inject constructor(generativeModel: GenerativeModel, case: ChatUseCases, mapper: ChatMessageToModelMapper, connectivityObserver: ConnectivityObserver, pref: SharedPreferences) : ViewModel

Constructors

Link copied to clipboard
@Inject
constructor(generativeModel: GenerativeModel, case: ChatUseCases, mapper: ChatMessageToModelMapper, connectivityObserver: ConnectivityObserver, pref: SharedPreferences)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setAction(action: () -> Unit)