ReportRepositoryImpl

internal class ReportRepositoryImpl(val rds: ReportDataSource.Remote, val preferenceManager: PreferenceManager) : ReportRepository(source)

Implements ReportRepository behavior in the SDAI data layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(rds: ReportDataSource.Remote, preferenceManager: PreferenceManager)

Properties

Link copied to clipboard

Exposes the preferenceManager value used by the SDAI data layer.

Link copied to clipboard

Exposes the rds value used by the SDAI data layer.

Functions

Link copied to clipboard
open suspend override fun send(text: String, reason: ReportReason, image: String)

Executes the send step in the SDAI data layer.