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>

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

DefaultAndroidDittoKitDependencies(context: Context)

Functions

context

fun context(): Context

ensureDirectoryExists

fun ensureDirectoryExists(path: String): Unit

loadLibrary

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

persistenceDirectory

fun persistenceDirectory(): String