dittosynckit / live.ditto.android / DefaultAndroidDittoSyncKitDependencies

DefaultAndroidDittoSyncKitDependencies

data class DefaultAndroidDittoSyncKitDependencies : AndroidDittoSyncKitDependencies

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

Constructors

<init>

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

DefaultAndroidDittoSyncKitDependencies(context: Context)

Functions

context

fun context(): Context

ensureDirectoryExists

fun ensureDirectoryExists(path: String): Unit

persistenceDirectory

fun persistenceDirectory(): String