Package com.airbnb.lottie
Class PerformanceTracker
- java.lang.Object
-
- com.airbnb.lottie.PerformanceTracker
-
public class PerformanceTracker extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePerformanceTracker.FrameListener
-
Constructor Summary
Constructors Constructor Description PerformanceTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFrameListener(PerformanceTracker.FrameListener frameListener)voidclearRenderTimes()java.util.List<androidx.core.util.Pair<java.lang.String,java.lang.Float>>getSortedRenderTimes()voidlogRenderTimes()voidrecordRenderTime(java.lang.String layerName, float millis)voidremoveFrameListener(PerformanceTracker.FrameListener frameListener)
-
-
-
Method Detail
-
recordRenderTime
public void recordRenderTime(java.lang.String layerName, float millis)
-
addFrameListener
public void addFrameListener(PerformanceTracker.FrameListener frameListener)
-
removeFrameListener
public void removeFrameListener(PerformanceTracker.FrameListener frameListener)
-
clearRenderTimes
public void clearRenderTimes()
-
logRenderTimes
public void logRenderTimes()
-
getSortedRenderTimes
public java.util.List<androidx.core.util.Pair<java.lang.String,java.lang.Float>> getSortedRenderTimes()
-
-