notifyMethodCompleted

fun notifyMethodCompleted(callId: String, result: String?, resultType: String, durationMs: Long)(source)

Notifies observers that a traced method completed successfully.

Called by compiler-injected code when a method returns normally.

Parameters

callId

The call ID returned by notifyMethodStart

result

String representation of the return value

resultType

Simple name of the result type

durationMs

Time in milliseconds from method start