Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
Classes
FrameData |
This class stores duration data for a single frame.
|
FrameDataApi24 |
This class stores duration data for a single frame.
|
FrameDataApi31 |
This class stores duration data for a single frame.
|
JankStats |
This class is used to both accumulate and report information about UI "jank" (runtime performance problems) in an application.
|
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 |
This class holds the current PerformanceMetricsState for a given view hierarchy.
|
StateInfo |
This class contains information about application state.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.metrics.performance\n============================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/metrics/performance/package-summary \"View this page in Java\")\n\nInterfaces\n----------\n\n|-------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|\n| [JankStats.OnFrameListener](/reference/kotlin/androidx/metrics/performance/JankStats.OnFrameListener) | This interface should be implemented to receive per-frame callbacks with jank data. |\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [FrameData](/reference/kotlin/androidx/metrics/performance/FrameData) | This class stores duration data for a single frame. |\n| [FrameDataApi24](/reference/kotlin/androidx/metrics/performance/FrameDataApi24) | This class stores duration data for a single frame. |\n| [FrameDataApi31](/reference/kotlin/androidx/metrics/performance/FrameDataApi31) | This class stores duration data for a single frame. |\n| [JankStats](/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. |\n| [PerformanceMetricsState](/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. |\n| [PerformanceMetricsState.Holder](/reference/kotlin/androidx/metrics/performance/PerformanceMetricsState.Holder) | This class holds the current [PerformanceMetricsState](/reference/kotlin/androidx/metrics/performance/PerformanceMetricsState) for a given view hierarchy. |\n| [StateInfo](/reference/kotlin/androidx/metrics/performance/StateInfo) | This class contains information about application state. |"]]