DefaultAboutRepository
class DefaultAboutRepository(deviceInfoDataSource: AboutDeviceInfoDataSource, buildInfoRepository: BuildInfoRepository, diagnostics: DiagnosticsReporter, googlePlayServices: GooglePlayServicesRepository, toolkitVersionProvider: () -> String = { BuildConfig.APP_TOOLKIT_VERSION }) : AboutRepository(source)
Provides the raw application and device metadata shown on the About screen.
Turning that metadata into rendered entries is the UI layer's responsibility, and copying it is a presentation interaction owned by the ViewModel, so this repository holds neither.
Parameters
deviceInfoDataSource
Supplies the host-formatted device report.
buildInfoRepository
Supplies the host application version name and code.
googlePlayServices
Supplies the installed Google Play services runtime version, if present.
toolkitVersionProvider
Supplies the App Toolkit library publishing version.
Constructors
Link copied to clipboard
constructor(deviceInfoDataSource: AboutDeviceInfoDataSource, buildInfoRepository: BuildInfoRepository, diagnostics: DiagnosticsReporter, googlePlayServices: GooglePlayServicesRepository, toolkitVersionProvider: () -> String = { BuildConfig.APP_TOOLKIT_VERSION })