CoreGenerationRepository
internal abstract class CoreGenerationRepository(mediaStoreGateway: MediaStoreGateway, val localDataSource: GenerationResultDataSource.Local, val preferenceManager: PreferenceManager, val backgroundWorkObserver: BackgroundWorkObserver) : CoreMediaStoreRepository(source)
Coordinates CoreGenerationRepository behavior in the SDAI data layer.
Author
Dmitriy Moroz
Inheritors
Constructors
Link copied to clipboard
constructor(mediaStoreGateway: MediaStoreGateway, localDataSource: GenerationResultDataSource.Local, preferenceManager: PreferenceManager, backgroundWorkObserver: BackgroundWorkObserver)
Properties
Link copied to clipboard
Exposes the backgroundWorkObserver value used by the SDAI data layer.
Link copied to clipboard
Exposes the localDataSource value used by the SDAI data layer.
Link copied to clipboard
Exposes the mediaStoreGateway value used by the SDAI data layer.
Link copied to clipboard
Exposes the preferenceManager value used by the SDAI data layer.
Functions
Link copied to clipboard
Executes the exportAsync step in the SDAI data layer.
Link copied to clipboard
Executes the exportToMediaStoreAsync step in the SDAI data layer.
Link copied to clipboard
Loads SDAI data through getInfoAsync.
Link copied to clipboard
Performs the SDAI side effect handled by insertGenerationResult.