AndroidDittoDependencies

interface AndroidDittoDependencies : DittoDependencies

An interface describing the dependencies required to initialise a live.ditto.Ditto instance when running on an Android device.

Functions

context
Link copied to clipboard
abstract fun context(): Context
ensureDirectoryExists
Link copied to clipboard
abstract fun ensureDirectoryExists(path: String)
persistenceDirectory
Link copied to clipboard
abstract fun persistenceDirectory(): String

Inheritors

DefaultAndroidDittoDependencies
Link copied to clipboard