FirmwareReleaseRepository

@Singleton
class FirmwareReleaseRepository @Inject constructor(remoteDataSource: FirmwareReleaseRemoteDataSource, localDataSource: FirmwareReleaseLocalDataSource, jsonDataSource: FirmwareReleaseJsonDataSource)

Constructors

Link copied to clipboard
@Inject
constructor(remoteDataSource: FirmwareReleaseRemoteDataSource, localDataSource: FirmwareReleaseLocalDataSource, jsonDataSource: FirmwareReleaseJsonDataSource)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A flow that provides the latest ALPHA firmware release.

Link copied to clipboard

A flow that provides the latest STABLE firmware release. It follows a "cache-then-network" strategy:

Functions

Link copied to clipboard
suspend fun invalidateCache()