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 FacebookSdk.setOnProgressThreshold(long)
执行: | Callback |
应用安装包: | facebook |
onProgress(long, long)
The method that will be called when progress is made.
public void onProgress(long current, long max)
参数 | 描述 |
---|---|
current | The current value of the progress of the request. |
max | The maximum value (target) value that the progress will have. |