docs/javadoc/reference/com/facebook/imagepipeline/producers/ProducerContext.html
|
|
Consumer<T>
NetworkFetcher<FETCH_STATE extends FetchState>
Producer<T>
BaseConsumer<T>
BaseNetworkFetcher<FETCH_STATE extends FetchState>
DelegatingConsumer<I, O>
HttpUrlConnectionNetworkFetcher.HttpUrlConnectionNetworkFetchState
MultiplexProducer<K, T extends Closeable>
NullProducer<T>
PostprocessedBitmapMemoryCacheProducer.CachedPostprocessorConsumer
PriorityNetworkFetcher<FETCH_STATE extends FetchState>
PriorityNetworkFetcher.PriorityFetchState<FETCH_STATE extends FetchState>
Summary: Nested Classes | Methods | [Expand All]
public interface
| com.facebook.imagepipeline.producers.ProducerContext |
| Known Indirect Subclasses
BaseProducerContext, SettableProducerContext
| BaseProducerContext | ProducerContext that can be cancelled. | | SettableProducerContext | ProducerContext that allows the client to change its internal state. |
|
Used to pass context information to producers.
Object implementing this interface is passed to all producers participating in pipeline request . Its responsibility is to instruct producers which image should be fetched/decoded/resized/cached etc. This class also handles request cancellation.
In order to be notified when cancellation is requested, a producer should use the runOnCancellationRequested method which takes an instance of Runnable and executes it when the pipeline client cancels the image request.
produceResults(Consumer, ProducerContext)| Nested Classes |
|---|
| @interface |
| Public Methods |
|---|
| abstract void |
| Adds callbacks to the set of callbacks that are executed at various points during the processing of a request. |
| abstract Object |
| abstract EncodedImageOrigin |
| abstract <E> E |
| abstract <E> E |
| abstract Map<String, Object> |
| abstract String |
| abstract ImagePipelineConfig |
| abstract ImageRequest |
| abstract ImageRequest.RequestLevel |
| abstract Priority |
| abstract ProducerListener2 |
| abstract String |
| abstract boolean |
| abstract boolean |
| abstract void |
| abstract void |
Helper to set ORIGIN |
| abstract void |
Helper to set ORIGIN and ORIGIN_SUBCATEGORY |
| abstract void |
| abstract <E> void |
Adds callbacks to the set of callbacks that are executed at various points during the processing of a request.
| callbacks | callbacks to be executed |
ImageRequest.RequestLevelHelper to set ORIGIN
Helper to set ORIGIN and ORIGIN_SUBCATEGORY
+Generated by Doclava. +