-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Kyle Rollins <[email protected]>
- Loading branch information
1 parent
53c41c1
commit f88df2b
Showing
5 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...details/java/sync/manage-sync-sessions-check-network-connection-description.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
To check the current network connection, call :java-sdk:`getConnectionState() | ||
<io/realm/mongodb/sync/SyncSession.html#getConnectionState-->` on your | ||
<io/realm/mongodb/sync/SyncSession.html#getConnectionState()>` on your | ||
:java-sdk:`SyncSession <io/realm/mongodb/sync/SyncSession.html>`. | ||
|
||
You can also subscribe to connection changes on your ``SyncSession`` | ||
with :java-sdk:`addConnectionChangeListener() | ||
<io/realm/mongodb/sync/SyncSession.html#addConnectionChangeListener-io.realm.mongodb.sync.ConnectionListener->` | ||
<io/realm/mongodb/sync/SyncSession.html#addConnectionChangeListener(io.realm.mongodb.sync.ConnectionListener)>` |
4 changes: 2 additions & 2 deletions
4
...s/java/sync/manage-sync-sessions-pause-resume-sync-session-java-description.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
To pause a currently active sync session, call | ||
:java-sdk:`stop() <io/realm/mongodb/sync/SyncSession.html#stop-->` | ||
:java-sdk:`stop() <io/realm/mongodb/sync/SyncSession.html#stop()>` | ||
on your :java-sdk:`SyncSession <io/realm/mongodb/sync/SyncSession.html>`: | ||
|
||
.. literalinclude:: /examples/generated/java/sync/SyncDataTest.snippet.pause-sync-session.java | ||
:language: java | ||
:copyable: false | ||
|
||
To resume a currently paused sync session, call | ||
:java-sdk:`start() <io/realm/mongodb/sync/SyncSession.html#start-->` | ||
:java-sdk:`start() <io/realm/mongodb/sync/SyncSession.html#start()>` | ||
on your :java-sdk:`SyncSession <io/realm/mongodb/sync/SyncSession.html>`: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters