ditto / live.ditto.android / DefaultAndroidDittoDependencies

DefaultAndroidDittoDependencies

data class DefaultAndroidDittoDependencies : AndroidDittoDependencies

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

Constructors

<init>

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

DefaultAndroidDittoDependencies(context: Context)

Functions

context

fun context(): Context

ensureDirectoryExists

fun ensureDirectoryExists(path: String): Unit

persistenceDirectory

fun persistenceDirectory(): String