# Insight.Provider

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/Insight.kt+class:androidx.benchmark.traceprocessor.Insight.Provider) Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/benchmark#1.4.0)

*** ** * ** ***


```
@ExperimentalInsightApi
public interface Insight.Provider
```

<br />

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

|---|---|
| `https://developer.android.com/reference/androidx/benchmark/traceprocessor/StartupInsights` |   |

*** ** * ** ***

## Summary

| ### Public methods |
|---|---|
| `abstract @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/benchmark/traceprocessor/Insight>` | `https://developer.android.com/reference/androidx/benchmark/traceprocessor/Insight.Provider#queryInsights(androidx.benchmark.traceprocessor.TraceProcessor.Session,kotlin.String,kotlin.String,kotlin.String)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/benchmark/traceprocessor/TraceProcessor.Session session, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html packageName, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html traceLinkTitle, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html traceLinkPath )` |

## Public methods

### queryInsights

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

```
abstract @NonNull List<@NonNull Insight> queryInsights(
    @NonNull TraceProcessor.Session session,
    @NonNull String packageName,
    @NonNull String traceLinkTitle,
    @NonNull String traceLinkPath
)
```