Package 

Interface GraphRequestBatch.OnProgressCallback

  • All Implemented Interfaces:
    com.facebook.GraphRequestBatch.Callback

    
    public interface GraphRequestBatch.OnProgressCallback
     implements GraphRequestBatch.Callback
                        

    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.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onBatchProgress(GraphRequestBatch batch, Long current, Long max) The method that will be called when a batch makes progress.
      • Methods inherited from class com.facebook.GraphRequestBatch.OnProgressCallback

        onBatchCompleted
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onBatchProgress

         abstract Unit onBatchProgress(GraphRequestBatch batch, Long current, Long max)

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

        Parameters:
        batch - the RequestBatch containing the Requests which were executed
        current - the current value of the progress
        max - the max (target) value of the progress