Android SDK Version
All Superinterfaces:
Enclosing class:

public static interface GraphRequest.OnProgressCallback
extends GraphRequest.Callback
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)
Method Summary
Modifier and TypeMethod and Description
voidonProgress(long current, long max)
The method that will be called when progress is made.
Methods inherited from interface com.facebook.
onCompleted
Method Detail

onProgress

void onProgress(long current,
                long max)
The method that will be called when progress is made.
Parameters:
current - the current value of the progress of the request.
max - the maximum value (target) value that the progress will have.