GraphRequestBatch.OnProgressCallback

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 FacebookSdk.setOnProgressThreshold(long).

执行:Callback
应用安装包:facebook
实例方法
onBatchProgress(GraphRequestBatch, long, long)

The method that will be called when a batch makes progress.

public void onBatchProgress(GraphRequestBatch 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