Package 

Class SettableProducerContext

  • All Implemented Interfaces:
    com.facebook.fresco.middleware.HasExtraData , com.facebook.imagepipeline.producers.ProducerContext

    @ThreadSafe() 
    public class SettableProducerContext
    extends BaseProducerContext
                        

    ProducerContext that allows the client to change its internal state.

    • Method Summary

      Modifier and Type Method Description
      void setIsPrefetch(boolean isPrefetch) Set whether the request is a prefetch request or not.
      void setIsIntermediateResultExpected(boolean isIntermediateResultExpected) Set whether intermediate result is expected or not
      void setPriority(Priority priority) Set the priority of the request
      • Methods inherited from class com.facebook.imagepipeline.producers.BaseProducerContext

        addCallbacks, callOnCancellationRequested, callOnIsIntermediateResultExpectedChanged, callOnIsPrefetchChanged, callOnPriorityChanged, cancel, cancelNoCallbacks, getCallerContext, getExtra, getExtra, getExtras, getId, getImagePipelineConfig, getImageRequest, getLowestPermittedRequestLevel, getPriority, getProducerListener, getUiComponentId, isCancelled, isIntermediateResultExpected, isPrefetch, putExtra, putExtras, putOriginExtra, putOriginExtra, setIsIntermediateResultExpectedNoCallbacks, setIsPrefetchNoCallbacks, setPriorityNoCallbacks
      • Methods inherited from class com.facebook.imagepipeline.producers.ProducerContext

        addCallbacks, getCallerContext, getId, getImagePipelineConfig, getImageRequest, getLowestPermittedRequestLevel, getPriority, getProducerListener, getUiComponentId, isIntermediateResultExpected, isPrefetch, putOriginExtra
      • Methods inherited from class com.facebook.fresco.middleware.HasExtraData

        getExtra, getExtras, putExtra, putExtras
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait