Interface ConnectionListener
Atlas Device SDKs are deprecated. Refer to the deprecation page for details.
io.realm.mongodb.sync
Interface used when reporting changes that happened to the connection used by the session.Multiple sessions might re-use the same connection. In that case, any connection change will be reported to all sessions.
If a disconnect happened due to an error, that error will be reported to the sessions SyncSession.ErrorHandler .
Method Summary
Modifier and Type | Method and Description |
---|---|
public void | A change in the connection to the server was detected. |
Method Detail
onChange
A change in the connection to the server was detected. Parameters
|