docs/javadoc/reference/com/facebook/imagepipeline/producers/BaseProducerContext.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: Fields | Ctors | Methods | Inherited Methods | [Expand All]
public class
extends Object
implements ProducerContext
| java.lang.Object | | ↳ | com.facebook.imagepipeline.producers.BaseProducerContext |
| Known Direct Subclasses
| SettableProducerContext | ProducerContext that allows the client to change its internal state. |
|
ProducerContext that can be cancelled. Exposes low level API to manipulate state of the ProducerContext.
| Fields |
|---|
| public static final Set<String> |
| Public Constructors |
|---|
| Public Methods |
|---|
| void |
| Adds callbacks to the set of callbacks that are executed at various points during the processing of a request. |
| static void |
Calls onCancellationRequested on each element of the list. |
| static void |
Calls onIsIntermediateResultExpected on each element of the list. |
| static void |
Calls onIsPrefetchChanged on each element of the list. |
| static void |
Calls onPriorityChanged on each element of the list. |
| void |
| Cancels the request processing and calls appropriate callbacks. |
| synchronized List<ProducerContextCallbacks> |
| Marks this ProducerContext as cancelled. |
| Object |
| EncodedImageOrigin |
| <T> T |
| <E> E |
| Map<String, Object> |
| String |
| ImagePipelineConfig |
| ImageRequest |
| ImageRequest.RequestLevel |
| synchronized Priority |
| ProducerListener2 |
| String |
| synchronized boolean |
| synchronized boolean |
| synchronized boolean |
| void |
| void |
Helper to set ORIGIN |
| void |
Helper to set ORIGIN and ORIGIN_SUBCATEGORY |
| void |
| void |
| synchronized List<ProducerContextCallbacks> |
| Changes isIntermediateResultExpected property. |
| synchronized List<ProducerContextCallbacks> |
| Changes isPrefetch property. |
| synchronized List<ProducerContextCallbacks> |
| Changes priority. |
| [Expand] Inherited Methods | | --- | | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
| | From interface com.facebook.imagepipeline.producers.ProducerContext
| abstract void | addCallbacks(ProducerContextCallbacks callbacks)
Adds callbacks to the set of callbacks that are executed at various points during the processing of a request.
|
| abstract Object | getCallerContext() |
| abstract EncodedImageOrigin | getEncodedImageOrigin() |
| abstract <E> E | getExtra(String key, E valueIfNotFound) |
| abstract <E> E | getExtra(String key) |
| abstract Map<String, Object> | getExtras() |
| abstract String | getId() |
| abstract ImagePipelineConfig | getImagePipelineConfig() |
| abstract ImageRequest | getImageRequest() |
| abstract ImageRequest.RequestLevel | getLowestPermittedRequestLevel() |
| abstract Priority | getPriority() |
| abstract ProducerListener2 | getProducerListener() |
| abstract String | getUiComponentId() |
| abstract boolean | isIntermediateResultExpected() |
| abstract boolean | isPrefetch() |
| abstract void | putExtras(Map<String, ?> extras) |
| abstract void | putOriginExtra(String origin)
Helper to set ORIGIN
|
| abstract void | putOriginExtra(String origin, String subcategory)
Helper to set ORIGIN and ORIGIN_SUBCATEGORY
|
| abstract void | setEncodedImageOrigin(EncodedImageOrigin encodedImageOrigin) |
| abstract <E> void | setExtra(String key, E value) |
|
Adds callbacks to the set of callbacks that are executed at various points during the processing of a request.
| callbacks | callbacks to be executed |
Calls onCancellationRequested on each element of the list. Does nothing if list == null
Calls onIsIntermediateResultExpected on each element of the list. Does nothing if list == null
Calls onIsPrefetchChanged on each element of the list. Does nothing if list == null
Calls onPriorityChanged on each element of the list. Does nothing if list == null
Cancels the request processing and calls appropriate callbacks.
Marks this ProducerContext as cancelled.
This method does not call any callbacks. Instead, caller of this method is responsible for iterating over returned list and calling appropriate method on each callback object.
callOnCancellationRequested(List)Helper to set ORIGIN
Helper to set ORIGIN and ORIGIN_SUBCATEGORY
Changes isIntermediateResultExpected property.
This method does not call any callbacks. Instead, caller of this method is responsible for iterating over returned list and calling appropriate method on each callback object.
Changes isPrefetch property.
This method does not call any callbacks. Instead, caller of this method is responsible for iterating over returned list and calling appropriate method on each callback object.
callOnIsPrefetchChanged(List)Changes priority.
This method does not call any callbacks. Instead, caller of this method is responsible for iterating over returned list and calling appropriate method on each callback object.
callOnPriorityChanged(List)+Generated by Doclava. +