# androidx.metrics.performance

# androidx.metrics.performance

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/metrics/performance/package-summary "View this page in Java")

## Interfaces

|------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|
| [JankStats.OnFrameListener](https://developer.android.com/reference/kotlin/androidx/metrics/performance/JankStats.OnFrameListener) | This interface should be implemented to receive per-frame callbacks with jank data. |

## Classes

|----------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [FrameData](https://developer.android.com/reference/kotlin/androidx/metrics/performance/FrameData)                                           | This class stores duration data for a single frame.                                                                                                                                   |
| [FrameDataApi24](https://developer.android.com/reference/kotlin/androidx/metrics/performance/FrameDataApi24)                                 | This class stores duration data for a single frame.                                                                                                                                   |
| [FrameDataApi31](https://developer.android.com/reference/kotlin/androidx/metrics/performance/FrameDataApi31)                                 | This class stores duration data for a single frame.                                                                                                                                   |
| [JankStats](https://developer.android.com/reference/kotlin/androidx/metrics/performance/JankStats)                                           | This class is used to both accumulate and report information about UI "jank" (runtime performance problems) in an application.                                                        |
| [PerformanceMetricsState](https://developer.android.com/reference/kotlin/androidx/metrics/performance/PerformanceMetricsState)               | This class is used to store information about the state of an application that can be retrieved later to associate state with performance timing data.                                |
| [PerformanceMetricsState.Holder](https://developer.android.com/reference/kotlin/androidx/metrics/performance/PerformanceMetricsState.Holder) | This class holds the current[PerformanceMetricsState](https://developer.android.com/reference/kotlin/androidx/metrics/performance/PerformanceMetricsState)for a given view hierarchy. |
| [StateInfo](https://developer.android.com/reference/kotlin/androidx/metrics/performance/StateInfo)                                           | This class contains information about application state.                                                                                                                              |