Package 

Interface FacebookCallback

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onSuccess(RESULT result) Called when the dialog completes without error.
      abstract Unit onCancel() Called when the dialog is canceled.
      abstract Unit onError(FacebookException error) Called when the dialog finishes with an error.
      • Methods inherited from class java.lang.Object

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

      • onSuccess

         abstract Unit onSuccess(RESULT result)

        Called when the dialog completes without error.

        Note: This will be called instead of .onCancel if any of the following conditions are true.

        Parameters:
        result - Result from the dialog
      • onCancel

         abstract Unit onCancel()

        Called when the dialog is canceled.

        Note: .onSuccess will be called instead if any of the following conditions are true.

      • onError

         abstract Unit onError(FacebookException error)

        Called when the dialog finishes with an error.

        Parameters:
        error - The error that occurred