TraceKt

Added in 1.1.0

public final class TraceKt


Summary

Public methods

static final @NonNull T
<T extends Object> trace(
    @NonNull String sectionName,
    @NonNull Function0<@NonNull T> block
)

This method is deprecated. Use androidx.tracing.Trace instead

Public methods

trace

Added in 1.1.0
Deprecated in 1.5.0
public static final @NonNull T <T extends Object> trace(
    @NonNull String sectionName,
    @NonNull Function0<@NonNull T> block
)

Wrap the specified block in calls to Trace.beginSection (with the supplied sectionName) and Trace.endSection.