We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72928f3 commit b5734e2Copy full SHA for b5734e2
objectbox-java/src/main/java/io/objectbox/sync/SyncClientImpl.java
@@ -263,8 +263,11 @@ public void notifyConnectionAvailable() {
263
/** (Optional) Pause sync updates. */
264
private native void nativeCancelUpdates(long handle);
265
266
- /** Hints to the native client that an active network connection is available. */
267
- private native void nativeTriggerReconnect(long handle);
+ /**
+ * Hints to the native client that an active network connection is available.
268
+ * Returns true if the native client was disconnected (and will try to re-connect).
269
+ */
270
+ private native boolean nativeTriggerReconnect(long handle);
271
272
/**
273
* Methods on this class must match those expected by JNI implementation.
0 commit comments