Package 

Interface ActivityFrameMetricsTracker.Listener

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onFramesMetricsReady(Activity activity, Array<SparseIntArray> frameMetrics, Long foregroundTime) Called everytime when foreground activity goes to the "paused" state, which means that frame metrics for this screen session are collected
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onFramesMetricsReady

         abstract Unit onFramesMetricsReady(Activity activity, Array<SparseIntArray> frameMetrics, Long foregroundTime)

        Called everytime when foreground activity goes to the "paused" state, which means that frame metrics for this screen session are collected

        Parameters:
        activity - current activity
        frameMetrics - raw frame metrics collected by FrameMetricsAggregator
        foregroundTime - time in millis, spent by this activity in foreground state