Package com.couchbase.lite
Class CouchbaseLite
- java.lang.Object
-
- com.couchbase.lite.CouchbaseLite
-
public final class CouchbaseLite extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
init(android.content.Context ctxt)
Initialize CouchbaseLite library.static void
init(android.content.Context ctxt, boolean debug)
Initialize CouchbaseLite library.static void
init(android.content.Context ctxt, boolean debug, File rootDbDir, File scratchDir)
Initialize CouchbaseLite library.
-
-
-
Method Detail
-
init
public static void init(@NonNull android.content.Context ctxt)
Initialize CouchbaseLite library. This method MUST be called before using CouchbaseLite.
-
init
public static void init(@NonNull android.content.Context ctxt, boolean debug)
Initialize CouchbaseLite library. This method MUST be called before using CouchbaseLite.
-
init
public static void init(@NonNull android.content.Context ctxt, boolean debug, @NonNull File rootDbDir, @NonNull File scratchDir)
Initialize CouchbaseLite library. This method allows specifying a root directory for CBL files. Use this version with great caution.- Parameters:
ctxt
- Application contextdebug
- true if debuggingrootDbDir
- default directory for databasesscratchDir
- scratch directory for SQLite
-
-