Package io.objectbox.sync.listener
Interface SyncLoginListener
-
- All Known Subinterfaces:
SyncListener
- All Known Implementing Classes:
AbstractSyncListener
public interface SyncLoginListenerListens to login events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonLoggedIn()Called on a successful login.voidonLoginFailed(long syncLoginCode)Called on a login failure.
-
-
-
Method Detail
-
onLoggedIn
void onLoggedIn()
Called on a successful login.At this point the connection to the sync destination was established and entered an operational state, in which data can be sent both ways.
-
onLoginFailed
void onLoginFailed(long syncLoginCode)
Called on a login failure. One ofSyncLoginCodes, but neverSyncLoginCodes.OK.
-
-