public class

FetchState

extends Object
java.lang.Object
   ↳ com.facebook.imagepipeline.producers.FetchState
Known Direct Subclasses

Class Overview

Used by NetworkFetcher to encapsulate the state of one network fetch.

Implementations can subclass this to store additional fetch-scoped fields.

Summary

Public Constructors
FetchState(Consumer<EncodedImage> consumer, ProducerContext context)
Public Methods
Consumer<EncodedImage> getConsumer()
ProducerContext getContext()
String getId()
long getLastIntermediateResultTimeMs()
ProducerListener getListener()
Uri getUri()
void setLastIntermediateResultTimeMs(long lastIntermediateResultTimeMs)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FetchState (Consumer<EncodedImage> consumer, ProducerContext context)

Public Methods

public Consumer<EncodedImage> getConsumer ()

public ProducerContext getContext ()

public String getId ()

public long getLastIntermediateResultTimeMs ()

public ProducerListener getListener ()

public Uri getUri ()

public void setLastIntermediateResultTimeMs (long lastIntermediateResultTimeMs)