BenchmarkState

data class BenchmarkState(val loadingDevice: Boolean = true, val loadingResult: Boolean = true, val running: Boolean = false, val deviceInfo: BenchmarkDeviceInfo? = null, val latestResult: BenchmarkResult? = null, val error: String? = null) : MviState(source)

Holds benchmark screen state.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(loadingDevice: Boolean = true, loadingResult: Boolean = true, running: Boolean = false, deviceInfo: BenchmarkDeviceInfo? = null, latestResult: BenchmarkResult? = null, error: String? = null)

Properties

Link copied to clipboard

latest best-effort hardware snapshot.

Link copied to clipboard

current user-facing failure message.

Link copied to clipboard

most recent stored benchmark result.

Link copied to clipboard

true while the screen captures hardware metadata.

Link copied to clipboard

true while the latest stored benchmark result is being loaded.

Link copied to clipboard

true while a synthetic benchmark is executing.