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 |