interface AndroidDittoKitDependencies : DittoKitDependencies
An interface describing the dependencies required to initialise a live.ditto.DittoKit instance when running on an Android device.
abstract fun context(): Context |
abstract fun ensureDirectoryExists(path: String): Unit |
|
abstract fun loadLibrary(name: String, version: String): Unit |
|
abstract fun persistenceDirectory(): String |
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. |