public final class Sync
extends java.lang.Object
client(BoxStore, String, SyncCredentials)
or an embedded server using Sync.server(BoxStore, String, SyncCredentials).| Modifier and Type | Method and Description |
|---|---|
static SyncBuilder |
client(BoxStore boxStore,
java.lang.String url,
SyncCredentials credentials)
Start building a sync client.
|
static boolean |
isAvailable()
Returns true if the included native (JNI) ObjectBox library supports Sync.
|
static boolean |
isServerAvailable()
Returns true if the included native (JNI) ObjectBox library supports Sync server.
|
static SyncServerBuilder |
server(BoxStore boxStore,
java.lang.String url,
SyncCredentials authenticatorCredentials)
Start building a sync server.
|
public static boolean isAvailable()
public static boolean isServerAvailable()
public static SyncBuilder client(BoxStore boxStore, java.lang.String url, SyncCredentials credentials)
public static SyncServerBuilder server(BoxStore boxStore, java.lang.String url, SyncCredentials authenticatorCredentials)