-
public final class LastAnalyzedDocumentProvider
-
-
Field Summary
Fields Modifier and Type Field Description private final MutableStateFlow<RemoteAnalyzedDocument>data
-
Constructor Summary
Constructors Constructor Description LastAnalyzedDocumentProvider(CoroutineDispatcher backgroundDispatcher, UserAnalyticsEventTracker userAnalyticsEventTracker)
-
Method Summary
Modifier and Type Method Description final MutableStateFlow<RemoteAnalyzedDocument>getData()final RemoteAnalyzedDocumentprovide()final Unitupdate(RemoteAnalyzedDocument document)final Unitclear()-
-
Constructor Detail
-
LastAnalyzedDocumentProvider
LastAnalyzedDocumentProvider(CoroutineDispatcher backgroundDispatcher, UserAnalyticsEventTracker userAnalyticsEventTracker)
-
-
Method Detail
-
getData
final MutableStateFlow<RemoteAnalyzedDocument> getData()
-
provide
final RemoteAnalyzedDocument provide()
-
update
final Unit update(RemoteAnalyzedDocument document)
-
-
-
-