public class

ImagePerfMonitor

extends Object
implements ImagePerfNotifier
java.lang.Object
   ↳ com.facebook.drawee.backends.pipeline.info.ImagePerfMonitor

Summary

Public Constructors
ImagePerfMonitor(MonotonicClock monotonicClock, PipelineDraweeController pipelineDraweeController, Supplier<Boolean> asyncLogging)
Public Methods
void addImagePerfDataListener(ImagePerfDataListener imagePerfDataListener)
void addViewportData()
void clearImagePerfDataListeners()
void notifyListenersOfVisibilityStateUpdate(ImagePerfState state, int visibilityState)
void notifyStatusUpdated(ImagePerfState state, int imageLoadStatus)
void removeImagePerfDataListener(ImagePerfDataListener imagePerfDataListener)
void reset()
void setEnabled(boolean enabled)
void updateImageRequestData(AbstractDraweeControllerBuilder<PipelineDraweeControllerBuilderImageRequestCloseableReference<CloseableImage>, ImageInfo> pipelineDraweeControllerBuilder)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.drawee.backends.pipeline.info.ImagePerfNotifier

Public Constructors

public ImagePerfMonitor (MonotonicClock monotonicClock, PipelineDraweeController pipelineDraweeController, Supplier<Boolean> asyncLogging)

Public Methods

public void addImagePerfDataListener (ImagePerfDataListener imagePerfDataListener)

public void addViewportData ()

public void clearImagePerfDataListeners ()

public void notifyListenersOfVisibilityStateUpdate (ImagePerfState state, int visibilityState)

public void notifyStatusUpdated (ImagePerfState state, int imageLoadStatus)

public void removeImagePerfDataListener (ImagePerfDataListener imagePerfDataListener)

public void reset ()

public void setEnabled (boolean enabled)

public void updateImageRequestData (AbstractDraweeControllerBuilder<PipelineDraweeControllerBuilderImageRequestCloseableReference<CloseableImage>, ImageInfo> pipelineDraweeControllerBuilder)