# 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)

*** ** * ** ***


```
public interface TraceProcessor.EventCallback
```

<br />

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

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

*** ** * ** ***

## Summary

| ### Nested types |
|---|
| `public static class https://developer.android.com/reference/androidx/benchmark/traceprocessor/TraceProcessor.EventCallback.Noop implements https://developer.android.com/reference/androidx/benchmark/traceprocessor/TraceProcessor.EventCallback` |

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/benchmark/traceprocessor/TraceProcessor.EventCallback#onLoadTraceFailure(androidx.benchmark.traceprocessor.PerfettoTrace,kotlin.Throwable)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/benchmark/traceprocessor/PerfettoTrace trace, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Throwable.html throwable )` |

## Public methods

### onLoadTraceFailure

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

```
abstract void onLoadTraceFailure(
    @NonNull PerfettoTrace trace,
    @NonNull Throwable throwable
)
```