Function

traceEventStart

traceEventStart

Source set: Common
@Deprecated(
    message = "Use the overload with \$dirty metadata instead",
    ReplaceWith("traceEventStart(key, dirty1, dirty2, info)"),
    DeprecationLevel.HIDDEN,
)
public fun traceEventStart(key: Int, info: String): Unit

traceEventStart

Source set: Common
public fun traceEventStart(key: Int, dirty1: Int, dirty2: Int, info: String)

Internal tracing API.

Should be called without thread synchronization with occasional information loss.

Parameters

key is a group key generated by the compiler plugin for the function being traced. This key is unique the function.
dirty1 $dirty metadata: forced-recomposition and function parameters 1..10 if present
dirty2 $dirty2 metadata: forced-recomposition and function parameters 11..20 if present
info is a user displayable string that describes the function for which this is the start event.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: