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).
구현: | Callback |
패키지: | 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)
매개변수 | 설명 |
---|---|
batch | The RequestBatch containing the Requests which were executed |
current | The current value of the progress |
max | The max (target) value of the progress |