TraceKt

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

@NonNull
public static final 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.