Package 

Interface GraphRequest.Callback


  • 
    public interface GraphRequest.Callback
    
                        

    Specifies the interface that consumers of the Request class can implement in order to be notified when a particular request completes, either successfully or with an error.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onCompleted(GraphResponse response) The method that will be called when a request completes.
      • Methods inherited from class java.lang.Object

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

      • onCompleted

         abstract Unit onCompleted(GraphResponse response)

        The method that will be called when a request completes.

        Parameters:
        response - the Response of this request, which may include error information if the request was unsuccessful