ditto-lib / live.ditto.android / DefaultAndroidDittoKitDependencies

DefaultAndroidDittoKitDependencies

data class DefaultAndroidDittoKitDependencies : AndroidDittoKitDependencies

Provides a default set of dependencies that you can pass to the live.ditto.DittoKit initializer that will work on Android.

Constructors

<init>

DefaultAndroidDittoKitDependencies(context: Context)

Provides a default set of dependencies that you can pass to the live.ditto.DittoKit initializer that will work on Android.

Functions

context

fun context(): Context

ensureDirectoryExists

fun ensureDirectoryExists(path: String): Unit

loadLibrary

fun loadLibrary(name: String, version: String): Unit

persistenceDirectory

fun persistenceDirectory(): String