# TraceProcessor.EventCallback

Artifact: [androidx.benchmark:benchmark-traceprocessor](https://developer.android.com/jetpack/androidx/releases/benchmark) [View Source](https://cs.android.com/search?q=file:androidx/benchmark/traceprocessor/TraceProcessor.kt+class:androidx.benchmark.traceprocessor.TraceProcessor.EventCallback) Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/benchmark#1.4.0)

*** ** * ** ***

Android/JVM
- android

  ```
  interface TraceProcessor.EventCallback
  ```
Known direct subclasses [TraceProcessor.EventCallback.Noop](https://developer.android.com/reference/kotlin/androidx/benchmark/traceprocessor/TraceProcessor.EventCallback.Noop)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/benchmark/traceprocessor/TraceProcessor.EventCallback.Noop` |   |

*** ** * ** ***

## Summary

| ### Nested types |
|---|
| `object https://developer.android.com/reference/kotlin/androidx/benchmark/traceprocessor/TraceProcessor.EventCallback.Noop : https://developer.android.com/reference/kotlin/androidx/benchmark/traceprocessor/TraceProcessor.EventCallback` |

| ### Public functions |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/benchmark/traceprocessor/TraceProcessor.EventCallback#onLoadTraceFailure(androidx.benchmark.traceprocessor.PerfettoTrace,kotlin.Throwable)(trace: https://developer.android.com/reference/kotlin/androidx/benchmark/traceprocessor/PerfettoTrace, throwable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-throwable/index.html)` | android |

## Public functions

### onLoadTraceFailure

android Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/benchmark#1.4.0)

```
fun onLoadTraceFailure(trace: PerfettoTrace, throwable: Throwable): Unit
```