RequestBatch.OnProgressCallback
最新版本的 SDK 已不再提供此課程。

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)
參數說明
batchThe RequestBatch containing the Requests which were executed
currentThe current value of the progress
maxThe max (target) value of the progress