Interface ConnectHandler

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onResult(String userId, NCError error) Connection result callback.
      Unit onDatabaseOpened(Boolean isRecreated, NCError error) Called when the local database has been opened (or failed to open).
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onResult

         abstract Unit onResult(String userId, NCError error)

        Connection result callback.

        Parameters:
        userId - The user ID on success; null on failure
        error - Error info on failure; null on success
      • onDatabaseOpened

         Unit onDatabaseOpened(Boolean isRecreated, NCError error)

        Called when the local database has been opened (or failed to open).

        Parameters:
        isRecreated - true if the database was recreated (e.g.
        error - null on success; error info on failure