Interface DittoAuthenticator.LoginCallback

Enclosing class:
DittoAuthenticator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DittoAuthenticator.LoginCallback
Callback invoked when a login operation completes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    invoke(@Nullable DittoException error)
    Invoked when the login operation completes.
  • Method Details

    • invoke

      void invoke(@Nullable DittoException error)
      Invoked when the login operation completes.
      Parameters:
      error - the error if login failed, or null on success.