Companion
object Companion
Factory for WorkDebugTab.
Properties
Functions
Link copied to clipboard
fun create(context: Context, uniqueNames: List<String> = emptyList(), bufferBytes: Int = DEFAULT_BUFFER_BYTES): WorkDebugTab
Creates a WorkDebugTab.
Link copied to clipboard
fun createWithMetrics(context: Context, metrics: WorkMetricsInfoRepository, uniqueNames: List<String> = emptyList(), bufferBytes: Int = DEFAULT_BUFFER_BYTES): WorkDebugTab
Creates a WorkDebugTab that also shows the history that work-analytics keeps: the times, attempts, and stop reasons of each run, also of the runs of earlier processes.