PerfettoCaptureWrapper

@RestrictTo([Scope.LIBRARY_GROUP]) class PerfettoCaptureWrapper
kotlin.Any
   ↳ androidx.benchmark.perfetto.PerfettoCaptureWrapper

Wrapper for PerfettoCapture which does nothing below L.

Summary

Public constructors

Wrapper for PerfettoCapture which does nothing below L.

Public methods
String?
record(benchmarkName: String, packages: List<String>, iteration: Int? = null, block: () -> Unit)

Public constructors

PerfettoCaptureWrapper

PerfettoCaptureWrapper()

Wrapper for PerfettoCapture which does nothing below L.

Public methods

record

fun record(
    benchmarkName: String,
    packages: List<String>,
    iteration: Int? = null,
    block: () -> Unit
): String?