Request.OnProgressCallback
最新版本的 SDK 已不再提供此課程。
有此級別的更新版本。前往查看 最新版本。

Specifies the interface that consumers of the Request class can implement in order to be notified when a progress is made on a particular request. The frequency of the callbacks can be controlled using Settings.setOnProgressThreshold(long)

實作Callback
套件:facebook
執行個體方法
onProgress(long, long)

The method that will be called when progress is made.

public void onProgress(long current, long max)
參數說明
currentThe current value of the progress of the request.
maxThe maximum value (target) value that the progress will have.