Companion

object Companion

Factory for WorkDebugTab.

Properties

Link copied to clipboard

The default size of the event buffer: 1 MiB, by the size of the events on the heap.

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.