Specifies the interface that consumers of the RequestBatch class can implement in order to be notified when the batch makes progress. The frequency of the callbacks can be controlled using Settings.setOnProgressThreshold(long).
Implementierungen: | Callback |
Package: | facebook |
onBatchProgress(RequestBatch, long, long)
The method that will be called when a batch makes progress.
public void onBatchProgress(RequestBatch batch, long current, long max)
Parameter | Beschreibung |
---|---|
batch | The RequestBatch containing the Requests which were executed |
current | The current value of the progress |
max | The max (target) value of the progress |