class DittoCollection
A reference to a collection in a DittoStore. |
|
class DittoDBConfig
Configuration for the database backend that |
|
class DittoDocument<T : Any>
A document belonging to a DittoCollection with a nested typed value. |
|
class DittoDocumentPath
Provides an interface to specify a path to a key in a document that you can then call a function on to get the value at the specified key as a specific type. You obtain a DittoDocumentPath by subscripting a DittoDocument and you can then further subscript a DittoDocumentPath to further specify the key of the document that you want to get the value of. |
|
sealed class DittoIdentity
The various identity configurations that you can use when initializing a []DittoKit] instance. |
|
class DittoKit : Closeable
|
|
interface DittoKitCallback |
|
interface DittoKitDependencies
An interface describing the dependencies required to initialise a DittoKit instance. |
|
class DittoLiveQuery<T : Any> : LiveQueryHandlerRust, Closeable
The type that is returned when calling |
|
interface DittoLiveQueryCallback<T : Any>
Typically this will only be used if interacting with the SDK from Java. You can call |
|
sealed class DittoLiveQueryEvent<out T : Any>
Describes the different types of event that you can receive when dealing with live queries. |
|
data class DittoLiveQueryMove
Describes the index in a list of documents that a document was previously found at ( |
|
object DittoLog |
|
interface DittoLogger |
|
class DittoMutableDocument<T : Any>
This is used as part of update operations for documents. It provides access to updating a document through a subscript-based API. A subscript operation returns a DittoMutableDocumentPath that you can then use to chain further subscript operations to in order to access nested values in a document. Once you've defined the path to a key in a document that you'd like to update, by using subscripts, then you can use the functionality defined on DittoMutableDocumentPath to perform the desired document update(s). Note that objects of this type should only be used within the scope of the update closure that they are provided in. |
|
class DittoMutableDocumentPath
Provides an interface to specify a path to a key in a document that you can then call various update functions on. You obtain a DittoMutableDocumentPath by subscripting a DittoMutableDocument and you can then further subscript a DittoMutableDocumentPath to further specify the key of the document that you want to update. |
|
interface DittoMutableDocumentsUpdater<T : Any>
Typically this will only be used if interacting with the SDK from Java. You can call |
|
class DittoPendingCursorOperation<T : Any>
These objects are returned when using |
|
class DittoPendingIDSpecificOperation<T : Any>
These objects are returned when using |
|
class DittoSingleDocumentLiveQuery<T : Any> : Closeable
The type that is returned when calling |
|
interface DittoSingleDocumentLiveQueryCallback<T : Any>
Typically this will only be used if interacting with the SDK from Java. You can call |
|
class DittoSingleDocumentLiveQueryEvent<T : Any>
Represents a change to a document by providing a value representing the document's old state and a value
representing the document's new state. If it is the first time that one of these events is delivered for
a DittoSingleDocumentLiveQuery then the |
|
interface DittoSingleMutableDocumentUpdater<T : Any>
Typically this will only be used if interacting with the SDK from Java. You can call |
|
class DittoStore
Provides access to DittoCollections and a write transaction API. |
|
class DittoSubscription : Closeable
While DittoSubscription objects remain in scope they ensure that documents in the collection specified and that match the query provided will try to be kept up-to-date with the latest changes from remote peers. |
|
sealed class DittoTransports
This enumeration lists the transports that DittoKit can use to connect to other devices. |
|
sealed class DittoUpdateResult
Describes the result of an update operation performed on a |
|
class DittoWriteTransaction |
|
interface DittoWriteTransactionHandler
Typically this will only be used if interacting with the SDK from Java. You can call |
|
sealed class DittoWriteTransactionResult
Describes one part of the result of a write transaction. |
|
object DocumentPathSanitizer |
|
enum class LogLevel |
|
open class MdnsPlatform : MdnsPlatformRust |
|
object PrintLogger : DittoLogger |
|
class Status : StatusRust |
|
class Transport |
|
class TransportDiagnostics |
sealed class DittoKitError : Throwable
All errors that are thrown by the DittoKit SDK are wrapped as a |
|
data class LMDBError : Throwable |
typealias DittoDictionaryDocument = DittoDocument<Map<String, Any>>
This can be considered the default DittoDocument. Its inner value is of type |
|
typealias DittoSingleDocumentDictionaryLiveQuery = DittoSingleDocumentLiveQuery<Map<String, Any?>>
The default type of DittoSingleDocumentLiveQuery. It will use the DittoDictionaryDocument type to represent the document when delivering updates. |