BackgroundWorkObserver

Defines the BackgroundWorkObserver contract for the SDAI domain layer.

Author

Dmitriy Moroz

Inheritors

Functions

Link copied to clipboard
abstract fun dismissResult()

Executes the dismissResult step in the SDAI domain layer.

Link copied to clipboard
abstract fun hasActiveTasks(): Boolean

Executes the hasActiveTasks step in the SDAI domain layer.

Link copied to clipboard
abstract fun observeResult(): Flow<BackgroundWorkResult>

Loads SDAI data through observeResult.

Link copied to clipboard
abstract fun observeStatus(): Flow<BackgroundWorkStatus>

Loads SDAI data through observeStatus.

Link copied to clipboard
abstract fun postCancelSignal()

Executes the postCancelSignal step in the SDAI domain layer.

Link copied to clipboard
abstract fun postFailedSignal(t: Throwable)

Executes the postFailedSignal step in the SDAI domain layer.

Link copied to clipboard
abstract fun postStatusMessage(title: String, subTitle: String)

Executes the postStatusMessage step in the SDAI domain layer.

Link copied to clipboard

Executes the postSuccessSignal step in the SDAI domain layer.

Link copied to clipboard
abstract fun refreshStatus()

Executes the refreshStatus step in the SDAI domain layer.